Spaces:
Running
Running
remove optimum dataset
Browse files
app.py
CHANGED
@@ -15,9 +15,8 @@ HF_TOKEN = os.environ.get("HF_WRITE_TOKEN")
|
|
15 |
DATA_DIR = "exporters_data"
|
16 |
|
17 |
repo = None
|
18 |
-
if HF_TOKEN:
|
19 |
-
|
20 |
-
|
21 |
|
22 |
def export(model_id: str, task: str, oauth_token: gr.OAuthToken) -> str:
|
23 |
|
|
|
15 |
DATA_DIR = "exporters_data"
|
16 |
|
17 |
repo = None
|
18 |
+
# if HF_TOKEN:
|
19 |
+
# repo = Repository(local_dir=DATA_DIR, clone_from=DATASET_REPO_URL, token=HF_TOKEN)
|
|
|
20 |
|
21 |
def export(model_id: str, task: str, oauth_token: gr.OAuthToken) -> str:
|
22 |
|