Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,6 +8,7 @@ from PIL import Image
|
|
| 8 |
from torchvision import transforms
|
| 9 |
from sklearn.preprocessing import LabelEncoder
|
| 10 |
from gradio import Interface, Image, Label
|
|
|
|
| 11 |
|
| 12 |
# Retrieve the token from the environment variables
|
| 13 |
token = os.environ.get("token")
|
|
|
|
| 8 |
from torchvision import transforms
|
| 9 |
from sklearn.preprocessing import LabelEncoder
|
| 10 |
from gradio import Interface, Image, Label
|
| 11 |
+
from huggingface_hub import Repository
|
| 12 |
|
| 13 |
# Retrieve the token from the environment variables
|
| 14 |
token = os.environ.get("token")
|