Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -903,18 +903,17 @@ with gr.Blocks(theme=custom_theme, css=css, delete_cache=(60, 3600)) as app:
|
|
| 903 |
with gr.Row():
|
| 904 |
remove_button_3 = gr.Button("Remove", size="sm")
|
| 905 |
|
| 906 |
-
|
| 907 |
-
# Result and Progress Area
|
| 908 |
with gr.Column(elem_id="result_column"):
|
| 909 |
progress_bar = gr.Markdown(elem_id="progress", visible=False)
|
| 910 |
-
with gr.
|
| 911 |
result = gr.Image(
|
| 912 |
label="Generated Image",
|
| 913 |
interactive=False,
|
| 914 |
elem_classes=["generated-image"],
|
| 915 |
container=True,
|
| 916 |
elem_id="result_image",
|
| 917 |
-
width="100%"
|
| 918 |
)
|
| 919 |
with gr.Accordion("History", open=False):
|
| 920 |
history_gallery = gr.Gallery(
|
|
@@ -926,8 +925,6 @@ with gr.Blocks(theme=custom_theme, css=css, delete_cache=(60, 3600)) as app:
|
|
| 926 |
)
|
| 927 |
|
| 928 |
|
| 929 |
-
|
| 930 |
-
|
| 931 |
# Advanced Settings
|
| 932 |
with gr.Row():
|
| 933 |
with gr.Accordion("Advanced Settings", open=False):
|
|
|
|
| 903 |
with gr.Row():
|
| 904 |
remove_button_3 = gr.Button("Remove", size="sm")
|
| 905 |
|
| 906 |
+
# Result and Progress Area
|
|
|
|
| 907 |
with gr.Column(elem_id="result_column"):
|
| 908 |
progress_bar = gr.Markdown(elem_id="progress", visible=False)
|
| 909 |
+
with gr.Column(elem_id="result_box"): # Box를 Column으로 변경
|
| 910 |
result = gr.Image(
|
| 911 |
label="Generated Image",
|
| 912 |
interactive=False,
|
| 913 |
elem_classes=["generated-image"],
|
| 914 |
container=True,
|
| 915 |
elem_id="result_image",
|
| 916 |
+
width="100%"
|
| 917 |
)
|
| 918 |
with gr.Accordion("History", open=False):
|
| 919 |
history_gallery = gr.Gallery(
|
|
|
|
| 925 |
)
|
| 926 |
|
| 927 |
|
|
|
|
|
|
|
| 928 |
# Advanced Settings
|
| 929 |
with gr.Row():
|
| 930 |
with gr.Accordion("Advanced Settings", open=False):
|