Spaces:
Running
Running
Update app.py
#16
by
John6666
- opened
app.py
CHANGED
@@ -20,7 +20,8 @@ import shutil
|
|
20 |
import hashlib
|
21 |
from datetime import datetime
|
22 |
from typing import Dict, List, Optional
|
23 |
-
from huggingface_hub import login, HfApi
|
|
|
24 |
|
25 |
# ---------------------- DEPENDENCIES ----------------------
|
26 |
def install_dependencies_gradio():
|
|
|
20 |
import hashlib
|
21 |
from datetime import datetime
|
22 |
from typing import Dict, List, Optional
|
23 |
+
from huggingface_hub import login, HfApi
|
24 |
+
from huggingface_hub.errors import HfHubHTTPError
|
25 |
|
26 |
# ---------------------- DEPENDENCIES ----------------------
|
27 |
def install_dependencies_gradio():
|