Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
#9
by
reach-vb
HF staff
- opened
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)
|