Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -228,7 +228,7 @@ def create_interface():
|
|
| 228 |
"""Create Gradio interface"""
|
| 229 |
|
| 230 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 231 |
-
gr.HTML("<div style='text-align: center; width: 100%; margin: 20px 0;'><h1 style='margin: 0; font-size: 2.5em;'>PosterCraft-
|
| 232 |
|
| 233 |
with gr.Row():
|
| 234 |
with gr.Column(scale=1):
|
|
@@ -248,7 +248,7 @@ def create_interface():
|
|
| 248 |
|
| 249 |
with gr.Column(scale=1):
|
| 250 |
gr.Markdown("### 2. Results")
|
| 251 |
-
image_output = gr.Image(label="Generated Image", type="pil", show_download_button=True,
|
| 252 |
recapped_prompt_output = gr.Textbox(label="Final Prompt Used", lines=5, interactive=False)
|
| 253 |
status_output = gr.Textbox(label="Status Log", lines=4, interactive=False)
|
| 254 |
|
|
|
|
| 228 |
"""Create Gradio interface"""
|
| 229 |
|
| 230 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 231 |
+
gr.HTML("<div style='text-align: center; width: 100%; margin: 20px 0;'><h1 style='margin: 0; font-size: 2.5em;'>PosterCraft-v1_RL</h1></div>")
|
| 232 |
|
| 233 |
with gr.Row():
|
| 234 |
with gr.Column(scale=1):
|
|
|
|
| 248 |
|
| 249 |
with gr.Column(scale=1):
|
| 250 |
gr.Markdown("### 2. Results")
|
| 251 |
+
image_output = gr.Image(label="Generated Image", type="pil", show_download_button=True, container=False)
|
| 252 |
recapped_prompt_output = gr.Textbox(label="Final Prompt Used", lines=5, interactive=False)
|
| 253 |
status_output = gr.Textbox(label="Status Log", lines=4, interactive=False)
|
| 254 |
|