Spaces:
Running
Running
Commit
Β·
d677ac0
1
Parent(s):
f51c617
init
Browse files- __lib__/app.py +12 -0
- __lib__/i18n/ar.pyc +0 -0
- __lib__/i18n/da.pyc +0 -0
- __lib__/i18n/de.pyc +0 -0
- __lib__/i18n/en.pyc +0 -0
- __lib__/i18n/es.pyc +0 -0
- __lib__/i18n/fi.pyc +0 -0
- __lib__/i18n/fr.pyc +0 -0
- __lib__/i18n/he.pyc +0 -0
- __lib__/i18n/hi.pyc +0 -0
- __lib__/i18n/id.pyc +0 -0
- __lib__/i18n/it.pyc +0 -0
- __lib__/i18n/ja.pyc +0 -0
- __lib__/i18n/nl.pyc +0 -0
- __lib__/i18n/no.pyc +0 -0
- __lib__/i18n/pt.pyc +0 -0
- __lib__/i18n/ru.pyc +0 -0
- __lib__/i18n/sv.pyc +0 -0
- __lib__/i18n/tr.pyc +0 -0
- __lib__/i18n/uk.pyc +0 -0
- __lib__/i18n/vi.pyc +0 -0
- __lib__/i18n/zh.pyc +0 -0
- __lib__/util.pyc +0 -0
__lib__/app.py
CHANGED
|
@@ -768,6 +768,10 @@ def edit_image_interface(input_image, prompt, lang, request: gr.Request, progres
|
|
| 768 |
border: none;
|
| 769 |
'>π₯ Unlimited Creative Generation</a>
|
| 770 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 771 |
"""
|
| 772 |
return final_result, final_message, gr.update(value=nsfw_action_buttons_html, visible=True)
|
| 773 |
else:
|
|
@@ -875,6 +879,14 @@ def edit_image_interface(input_image, prompt, lang, request: gr.Request, progres
|
|
| 875 |
</div>
|
| 876 |
"""
|
| 877 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 878 |
return final_result, final_message, gr.update(value=action_buttons_html, visible=True)
|
| 879 |
else:
|
| 880 |
print(f"β Processing failed - IP: {client_ip}, error: {message}", flush=True)
|
|
|
|
| 768 |
border: none;
|
| 769 |
'>π₯ Unlimited Creative Generation</a>
|
| 770 |
</div>
|
| 771 |
+
<div style='text-align: center; margin: 10px 0 0; font-size: 13px; color: #4a5568;'>
|
| 772 |
+
<a href='https://huggingface.co/spaces/selfit-camera/Omni-Image-Editor' target='_blank' style='color: #5865f2; text-decoration: none; font-weight: 600;'>π Visit our Hugging Face Space demo (free)</a>
|
| 773 |
+
<div style='font-size: 12px; color: #718096; margin-top: 4px;'>This is a free HF Space demo for Omni Image Editor.</div>
|
| 774 |
+
</div>
|
| 775 |
"""
|
| 776 |
return final_result, final_message, gr.update(value=nsfw_action_buttons_html, visible=True)
|
| 777 |
else:
|
|
|
|
| 879 |
</div>
|
| 880 |
"""
|
| 881 |
|
| 882 |
+
# Always show HF Space demo tip under the result image after task completion
|
| 883 |
+
action_buttons_html += """
|
| 884 |
+
<div style='text-align: center; margin: 10px 0 0; font-size: 13px; color: #4a5568;'>
|
| 885 |
+
<a href='https://huggingface.co/spaces/selfit-camera/Omni-Image-Editor' target='_blank' style='color: #5865f2; text-decoration: none; font-weight: 600;'>π Visit our Hugging Face Space demo (free)</a>
|
| 886 |
+
<div style='font-size: 12px; color: #718096; margin-top: 4px;'>This is a free HF Space demo for Omni Image Editor.</div>
|
| 887 |
+
</div>
|
| 888 |
+
"""
|
| 889 |
+
|
| 890 |
return final_result, final_message, gr.update(value=action_buttons_html, visible=True)
|
| 891 |
else:
|
| 892 |
print(f"β Processing failed - IP: {client_ip}, error: {message}", flush=True)
|
__lib__/i18n/ar.pyc
CHANGED
|
Binary files a/__lib__/i18n/ar.pyc and b/__lib__/i18n/ar.pyc differ
|
|
|
__lib__/i18n/da.pyc
CHANGED
|
Binary files a/__lib__/i18n/da.pyc and b/__lib__/i18n/da.pyc differ
|
|
|
__lib__/i18n/de.pyc
CHANGED
|
Binary files a/__lib__/i18n/de.pyc and b/__lib__/i18n/de.pyc differ
|
|
|
__lib__/i18n/en.pyc
CHANGED
|
Binary files a/__lib__/i18n/en.pyc and b/__lib__/i18n/en.pyc differ
|
|
|
__lib__/i18n/es.pyc
CHANGED
|
Binary files a/__lib__/i18n/es.pyc and b/__lib__/i18n/es.pyc differ
|
|
|
__lib__/i18n/fi.pyc
CHANGED
|
Binary files a/__lib__/i18n/fi.pyc and b/__lib__/i18n/fi.pyc differ
|
|
|
__lib__/i18n/fr.pyc
CHANGED
|
Binary files a/__lib__/i18n/fr.pyc and b/__lib__/i18n/fr.pyc differ
|
|
|
__lib__/i18n/he.pyc
CHANGED
|
Binary files a/__lib__/i18n/he.pyc and b/__lib__/i18n/he.pyc differ
|
|
|
__lib__/i18n/hi.pyc
CHANGED
|
Binary files a/__lib__/i18n/hi.pyc and b/__lib__/i18n/hi.pyc differ
|
|
|
__lib__/i18n/id.pyc
CHANGED
|
Binary files a/__lib__/i18n/id.pyc and b/__lib__/i18n/id.pyc differ
|
|
|
__lib__/i18n/it.pyc
CHANGED
|
Binary files a/__lib__/i18n/it.pyc and b/__lib__/i18n/it.pyc differ
|
|
|
__lib__/i18n/ja.pyc
CHANGED
|
Binary files a/__lib__/i18n/ja.pyc and b/__lib__/i18n/ja.pyc differ
|
|
|
__lib__/i18n/nl.pyc
CHANGED
|
Binary files a/__lib__/i18n/nl.pyc and b/__lib__/i18n/nl.pyc differ
|
|
|
__lib__/i18n/no.pyc
CHANGED
|
Binary files a/__lib__/i18n/no.pyc and b/__lib__/i18n/no.pyc differ
|
|
|
__lib__/i18n/pt.pyc
CHANGED
|
Binary files a/__lib__/i18n/pt.pyc and b/__lib__/i18n/pt.pyc differ
|
|
|
__lib__/i18n/ru.pyc
CHANGED
|
Binary files a/__lib__/i18n/ru.pyc and b/__lib__/i18n/ru.pyc differ
|
|
|
__lib__/i18n/sv.pyc
CHANGED
|
Binary files a/__lib__/i18n/sv.pyc and b/__lib__/i18n/sv.pyc differ
|
|
|
__lib__/i18n/tr.pyc
CHANGED
|
Binary files a/__lib__/i18n/tr.pyc and b/__lib__/i18n/tr.pyc differ
|
|
|
__lib__/i18n/uk.pyc
CHANGED
|
Binary files a/__lib__/i18n/uk.pyc and b/__lib__/i18n/uk.pyc differ
|
|
|
__lib__/i18n/vi.pyc
CHANGED
|
Binary files a/__lib__/i18n/vi.pyc and b/__lib__/i18n/vi.pyc differ
|
|
|
__lib__/i18n/zh.pyc
CHANGED
|
Binary files a/__lib__/i18n/zh.pyc and b/__lib__/i18n/zh.pyc differ
|
|
|
__lib__/util.pyc
CHANGED
|
Binary files a/__lib__/util.pyc and b/__lib__/util.pyc differ
|
|
|