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