multimodalart HF Staff commited on
Commit
0e77e0b
·
verified ·
1 Parent(s): a0e1b6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -795,7 +795,7 @@ def check_civit_link(profile: Optional[gr.OAuthProfile], url: str):
795
  f'Please visit <a href="https://civitai.com/user/account" target="_blank">https://civitai.com/user/account</a>, '
796
  f'go to "Edit profile" and add your Hugging Face profile URL (e.g., https://huggingface.co/{profile.username}) to the "Links" section. '
797
  f'<br><img width="60%" src="https://i.imgur.com/hCbo9uL.png" alt="Civitai profile links example"/><br>'
798
- f'(If you are not {info["creator"]}, you cannot submit their model at this time unless you are a trusted uploader.)')
799
  return no_username_text, gr.update(interactive=False), gr.update(visible=True), gr.update(visible=False), gr.update(visible=is_hunyuan)
800
 
801
  if profile.username.lower() != hf_username_on_civitai.lower():
 
795
  f'Please visit <a href="https://civitai.com/user/account" target="_blank">https://civitai.com/user/account</a>, '
796
  f'go to "Edit profile" and add your Hugging Face profile URL (e.g., https://huggingface.co/{profile.username}) to the "Links" section. '
797
  f'<br><img width="60%" src="https://i.imgur.com/hCbo9uL.png" alt="Civitai profile links example"/><br>'
798
+ f'(If you are not {info["creator"]}, you cannot submit their model at this time.)')
799
  return no_username_text, gr.update(interactive=False), gr.update(visible=True), gr.update(visible=False), gr.update(visible=is_hunyuan)
800
 
801
  if profile.username.lower() != hf_username_on_civitai.lower():