Update app.py
Browse files
app.py
CHANGED
@@ -604,9 +604,12 @@ def setup_signal_handlers():
|
|
604 |
def build_ui():
|
605 |
"""构建Gradio UI"""
|
606 |
with gr.Blocks(theme=gr.themes.Soft(), title="Lumina Image Playground") as demo:
|
607 |
-
gr.Markdown("<h1>🎨
|
608 |
gr.Markdown(
|
609 |
-
"Fine-tuned Lumina model specialized for anime/manga style generation! Supports Chinese, English, and Japanese prompts. Model under active development - more exciting features coming soon
|
|
|
|
|
|
|
610 |
)
|
611 |
|
612 |
gr.HTML(f"""
|
@@ -709,10 +712,13 @@ def build_ui():
|
|
709 |
label="Output Image | 输出图像",
|
710 |
show_label=False,
|
711 |
type="filepath",
|
712 |
-
|
|
|
713 |
show_download_button=True,
|
714 |
interactive=False,
|
715 |
elem_id="result_image_display",
|
|
|
|
|
716 |
)
|
717 |
used_prompt_info = gr.Textbox(
|
718 |
label="Used Prompt | 使用的提示词",
|
|
|
604 |
def build_ui():
|
605 |
"""构建Gradio UI"""
|
606 |
with gr.Blocks(theme=gr.themes.Soft(), title="Lumina Image Playground") as demo:
|
607 |
+
gr.Markdown("<h1>🎨 NetaLumina_T2I_Playground | 捏Ta Lumina</h1>")
|
608 |
gr.Markdown(
|
609 |
+
"Fine-tuned Lumina model specialized for anime/manga style generation! Supports Chinese, English, and Japanese prompts. Model under active development - more exciting features coming soon!"
|
610 |
+
)
|
611 |
+
gr.Markdown(
|
612 |
+
"🌸 专为二次元风格优化的Lumina模型!支持中文、英文、日文三语提示词,让您的创意无界限!模型持续优化中,敬请期待。"
|
613 |
)
|
614 |
|
615 |
gr.HTML(f"""
|
|
|
712 |
label="Output Image | 输出图像",
|
713 |
show_label=False,
|
714 |
type="filepath",
|
715 |
+
width=1024,
|
716 |
+
height=576,
|
717 |
show_download_button=True,
|
718 |
interactive=False,
|
719 |
elem_id="result_image_display",
|
720 |
+
container=True,
|
721 |
+
show_fullscreen_button=True,
|
722 |
)
|
723 |
used_prompt_info = gr.Textbox(
|
724 |
label="Used Prompt | 使用的提示词",
|