Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,8 +20,7 @@ import shutil
|
|
| 20 |
import hashlib
|
| 21 |
from datetime import datetime
|
| 22 |
from typing import Dict, List, Optional
|
| 23 |
-
from huggingface_hub import login, HfApi, hf_hub_download
|
| 24 |
-
from huggingface_hub.file_download import get_from_cache # Corrected import
|
| 25 |
from huggingface_hub.utils import validate_repo_id, HFValidationError
|
| 26 |
from huggingface_hub.errors import HfHubHTTPError
|
| 27 |
from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE # Import HUGGINGFACE_HUB_CACHE
|
|
|
|
| 20 |
import hashlib
|
| 21 |
from datetime import datetime
|
| 22 |
from typing import Dict, List, Optional
|
| 23 |
+
from huggingface_hub import login, HfApi, hf_hub_download, get_from_cache
|
|
|
|
| 24 |
from huggingface_hub.utils import validate_repo_id, HFValidationError
|
| 25 |
from huggingface_hub.errors import HfHubHTTPError
|
| 26 |
from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE # Import HUGGINGFACE_HUB_CACHE
|