Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -220,13 +220,7 @@ if (runModel=='1'):
|
|
220 |
create_repo(repo_id=repo_name, token=api_token, exist_ok=True)
|
221 |
|
222 |
# Upload the model and tokenizer to the Hugging Face repository
|
223 |
-
|
224 |
-
folder_path=model_path,
|
225 |
-
path_in_repo="data-timeframe_model",
|
226 |
-
repo_id=repo_name,
|
227 |
-
token=api_token,
|
228 |
-
commit_message="Update fine-tuned model for test"
|
229 |
-
)
|
230 |
|
231 |
upload_folder(
|
232 |
folder_path=tokenizer_path,
|
|
|
220 |
create_repo(repo_id=repo_name, token=api_token, exist_ok=True)
|
221 |
|
222 |
# Upload the model and tokenizer to the Hugging Face repository
|
223 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
|
225 |
upload_folder(
|
226 |
folder_path=tokenizer_path,
|