Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import torch
|
|
| 2 |
import torch.nn.functional as F
|
| 3 |
import torchvision.transforms as transforms
|
| 4 |
from PIL import Image
|
|
|
|
| 5 |
import gradio as gr
|
| 6 |
|
| 7 |
model_path = hf_hub_download(repo_id="Ayamohamed/DiaClassification", filename="dia_none_classifier_full.pth")
|
|
|
|
| 2 |
import torch.nn.functional as F
|
| 3 |
import torchvision.transforms as transforms
|
| 4 |
from PIL import Image
|
| 5 |
+
from huggingface_hub import hf_hub_download
|
| 6 |
import gradio as gr
|
| 7 |
|
| 8 |
model_path = hf_hub_download(repo_id="Ayamohamed/DiaClassification", filename="dia_none_classifier_full.pth")
|