Spaces:
Runtime error
Runtime error
SFconvertbot
commited on
Commit
·
5110fee
1
Parent(s):
deff6f6
Update app.py
Browse files
app.py
CHANGED
@@ -15,8 +15,8 @@ DATA_FILE = os.path.join("data", DATA_FILENAME)
|
|
15 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
16 |
|
17 |
repo: Optional[Repository] = None
|
18 |
-
if HF_TOKEN:
|
19 |
-
|
20 |
|
21 |
|
22 |
def run(token: str, model_id: str) -> str:
|
|
|
15 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
16 |
|
17 |
repo: Optional[Repository] = None
|
18 |
+
# if HF_TOKEN:
|
19 |
+
# repo = Repository(local_dir="data", clone_from=DATASET_REPO_URL, token=HF_TOKEN)
|
20 |
|
21 |
|
22 |
def run(token: str, model_id: str) -> str:
|