multimodalart HF staff commited on
Commit
cd0dc2e
1 Parent(s): 292be3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -349,6 +349,7 @@ def upload_civit_to_hf(profile: Optional[gr.OAuthProfile], oauth_token: gr.OAuth
349
  token=oauth_token.token
350
  )
351
  update_repo_visibility(repo_id=user_repo_id, private=False, token=oauth_token.token)
 
352
  except Exception as e:
353
  print(e)
354
  raise gr.Error("Your Hugging Face Token expired. Log out and in again to upload your models.")
 
349
  token=oauth_token.token
350
  )
351
  update_repo_visibility(repo_id=user_repo_id, private=False, token=oauth_token.token)
352
+ gr.Info(f"Model {user_repo_id} uploaded!")
353
  except Exception as e:
354
  print(e)
355
  raise gr.Error("Your Hugging Face Token expired. Log out and in again to upload your models.")