Update app.py (#9)
Browse files- Update app.py (40e36b53899db8dadc1ea90349a4782c639c1c3c)
app.py
CHANGED
@@ -72,11 +72,10 @@ def process_model(model_id, q_method, hf_token):
|
|
72 |
|
73 |
api.upload_file(
|
74 |
path_or_fileobj=f"{MODEL_NAME}/README-new.md",
|
75 |
-
path_in_repo=README.md,
|
76 |
repo_id=repo_id,
|
77 |
repo_type="model",
|
78 |
)
|
79 |
-
|
80 |
print("Uploaded successfully!")
|
81 |
|
82 |
shutil.rmtree(MODEL_NAME)
|
|
|
72 |
|
73 |
api.upload_file(
|
74 |
path_or_fileobj=f"{MODEL_NAME}/README-new.md",
|
75 |
+
path_in_repo="README.md",
|
76 |
repo_id=repo_id,
|
77 |
repo_type="model",
|
78 |
)
|
|
|
79 |
print("Uploaded successfully!")
|
80 |
|
81 |
shutil.rmtree(MODEL_NAME)
|