Spaces:
Running
Running
admin
commited on
Commit
·
b1d9309
1
Parent(s):
18e9778
hf hub
Browse files- app.py +1 -1
- requirements.txt +3 -4
app.py
CHANGED
@@ -3,7 +3,7 @@ import torch
|
|
3 |
import gradio as gr
|
4 |
from PIL import Image
|
5 |
from torchvision.transforms import transforms
|
6 |
-
from
|
7 |
|
8 |
MODEL_DIR = snapshot_download("Genius-Society/HEp2", cache_dir="./__pycache__")
|
9 |
CLASSES = [
|
|
|
3 |
import gradio as gr
|
4 |
from PIL import Image
|
5 |
from torchvision.transforms import transforms
|
6 |
+
from huggingface_hub import snapshot_download
|
7 |
|
8 |
MODEL_DIR = snapshot_download("Genius-Society/HEp2", cache_dir="./__pycache__")
|
9 |
CLASSES = [
|
requirements.txt
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
-
|
2 |
gradio
|
3 |
pillow
|
4 |
-
torchvision
|
5 |
-
tqdm
|
6 |
requests
|
7 |
-
|
|
|
|
1 |
+
tqdm
|
2 |
gradio
|
3 |
pillow
|
|
|
|
|
4 |
requests
|
5 |
+
torch
|
6 |
+
torchvision
|