Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ css = """
|
|
| 44 |
#model-info { text-align: center; !important; }
|
| 45 |
"""
|
| 46 |
|
| 47 |
-
with gr.Blocks(
|
| 48 |
with gr.Tab("Image Generator"):
|
| 49 |
with gr.Column(elem_id="col-container"):
|
| 50 |
with gr.Row():
|
|
@@ -54,7 +54,7 @@ with gr.Blocks(css=css, fill_width=True, elem_id="container") as demo:
|
|
| 54 |
run_button = gr.Button("Run")
|
| 55 |
run_translate_button = gr.Button("Translate")
|
| 56 |
|
| 57 |
-
result = gr.Image(label="Result", elem_id="result", show_label=False, interactive=False,
|
| 58 |
show_download_button=True, show_share_button=False, container=True)
|
| 59 |
|
| 60 |
with gr.Accordion("Advanced Settings", open=False):
|
|
|
|
| 44 |
#model-info { text-align: center; !important; }
|
| 45 |
"""
|
| 46 |
|
| 47 |
+
with gr.Blocks(fill_width=True, elem_id="container", css=css) as demo:
|
| 48 |
with gr.Tab("Image Generator"):
|
| 49 |
with gr.Column(elem_id="col-container"):
|
| 50 |
with gr.Row():
|
|
|
|
| 54 |
run_button = gr.Button("Run")
|
| 55 |
run_translate_button = gr.Button("Translate")
|
| 56 |
|
| 57 |
+
result = gr.Image(label="Result", elem_id="result", format="png", show_label=False, interactive=False,
|
| 58 |
show_download_button=True, show_share_button=False, container=True)
|
| 59 |
|
| 60 |
with gr.Accordion("Advanced Settings", open=False):
|