Ayamohamed commited on
Commit
f617b24
·
verified ·
1 Parent(s): ecae9d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from huggingface_hub import hf_hub_download
6
  import gradio as gr
7
 
8
  # Download model from Hugging Face Hub
9
- model_path = hf_hub_download(repo_id="Ayamohamed/DiaClassification", filename="dia_class_full.pth")
10
 
11
  # Load model
12
  model = torch.load(model_path,weights_only=False)
 
6
  import gradio as gr
7
 
8
  # Download model from Hugging Face Hub
9
+ model_path = hf_hub_download(repo_id="Ayamohamed/DiaClassification", filename="model.pth")
10
 
11
  # Load model
12
  model = torch.load(model_path,weights_only=False)