Spaces:
Running
on
L4
Running
on
L4
visibility to public
Browse files
app.py
CHANGED
@@ -165,7 +165,7 @@ def button_click(hf_model_id, conv_template, quantization, oauth_token: gr.OAuth
|
|
165 |
|
166 |
# push to HF
|
167 |
user_name = api.whoami()["name"]
|
168 |
-
created_repo_url = api.create_repo(repo_id=f"{user_name}/{mlc_model_name}", private=False)
|
169 |
created_repo_id = created_repo_url.repo_id
|
170 |
|
171 |
api.upload_large_folder(folder_path=f"./dist/{mlc_model_name}",
|
|
|
165 |
|
166 |
# push to HF
|
167 |
user_name = api.whoami()["name"]
|
168 |
+
created_repo_url = api.create_repo(repo_id=f"{user_name}/{mlc_model_name}", private=False) # set public
|
169 |
created_repo_id = created_repo_url.repo_id
|
170 |
|
171 |
api.upload_large_folder(folder_path=f"./dist/{mlc_model_name}",
|