Spaces:
Running
Running
Commit ·
6f7e99d
1
Parent(s): 2555853
Update default cached model to production ai4data/datause-extraction
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ print("Pre-downloading models to local cache...")
|
|
| 45 |
try:
|
| 46 |
from huggingface_hub import snapshot_download
|
| 47 |
snapshot_download(repo_id="fastino/gliner2-large-v1")
|
| 48 |
-
snapshot_download(repo_id="ai4data/datause-extraction
|
| 49 |
snapshot_download(repo_id="ai4data-use/bert-base-uncased-data-use")
|
| 50 |
print("Models pre-downloaded successfully.")
|
| 51 |
except Exception as e:
|
|
|
|
| 45 |
try:
|
| 46 |
from huggingface_hub import snapshot_download
|
| 47 |
snapshot_download(repo_id="fastino/gliner2-large-v1")
|
| 48 |
+
snapshot_download(repo_id="ai4data/datause-extraction")
|
| 49 |
snapshot_download(repo_id="ai4data-use/bert-base-uncased-data-use")
|
| 50 |
print("Models pre-downloaded successfully.")
|
| 51 |
except Exception as e:
|