AMKCode commited on
Commit
02b66bf
·
1 Parent(s): dcc647f

visibility to public

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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}",