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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -786,7 +786,7 @@ def check_civit_link(profile: Optional[gr.OAuthProfile], url: str):
786
 
787
  hf_username_on_civitai = extract_huggingface_username(info['creator'])
788
 
789
- if profile.username == "multimodalart" or profile.username in TRUSTED_UPLOADERS: # Allow multimodalart or other trusted to bypass HF username check
790
  return ('Admin/Trusted user override: Upload enabled.',
791
  gr.update(interactive=True), gr.update(visible=False), gr.update(visible=True), gr.update(visible=is_hunyuan))
792
 
 
786
 
787
  hf_username_on_civitai = extract_huggingface_username(info['creator'])
788
 
789
+ if profile.username in TRUSTED_UPLOADERS:
790
  return ('Admin/Trusted user override: Upload enabled.',
791
  gr.update(interactive=True), gr.update(visible=False), gr.update(visible=True), gr.update(visible=is_hunyuan))
792