Spaces:
Running
Running
Update app.py
Browse files
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
|
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 |
|