Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from llmdolphin import (get_llm_formats, get_dolphin_model_format,
|
|
10 |
select_dolphin_language, dolphin_respond, dolphin_parse)
|
11 |
|
12 |
|
13 |
-
with gr.Blocks(theme='
|
14 |
gr.Markdown("""# Natural Text to SD Prompt Translator With LLM alpha
|
15 |
Text in natural language (English, Japanese, ...) => Prompt
|
16 |
""")
|
@@ -56,7 +56,7 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css="", delete_cache=
|
|
56 |
generate_image_btn = gr.Button(value="GENERATE IMAGE", size="lg", variant="primary")
|
57 |
result_image = gr.Gallery(label="Generated images", columns=1, object_fit="contain", container=True, preview=True, show_label=False, show_share_button=False, show_download_button=True, interactive=False, visible=True, format="png")
|
58 |
gr.LoginButton()
|
59 |
-
gr.DuplicateButton(value="Duplicate Space for private use
|
60 |
|
61 |
gr.on(
|
62 |
triggers=[chat_msg.submit, chat_submit.click],
|
|
|
10 |
select_dolphin_language, dolphin_respond, dolphin_parse)
|
11 |
|
12 |
|
13 |
+
with gr.Blocks(theme='NoCrypt/miku@>=1.2.2', fill_width=True, css="", delete_cache=(60, 3600)) as app:
|
14 |
gr.Markdown("""# Natural Text to SD Prompt Translator With LLM alpha
|
15 |
Text in natural language (English, Japanese, ...) => Prompt
|
16 |
""")
|
|
|
56 |
generate_image_btn = gr.Button(value="GENERATE IMAGE", size="lg", variant="primary")
|
57 |
result_image = gr.Gallery(label="Generated images", columns=1, object_fit="contain", container=True, preview=True, show_label=False, show_share_button=False, show_download_button=True, interactive=False, visible=True, format="png")
|
58 |
gr.LoginButton()
|
59 |
+
gr.DuplicateButton(value="Duplicate Space for private use (This demo does not work on CPU. Requires GPU Space)")
|
60 |
|
61 |
gr.on(
|
62 |
triggers=[chat_msg.submit, chat_submit.click],
|