Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
@@ -43,6 +43,7 @@ css = """
|
|
43 |
#col-container {
|
44 |
margin: 0 auto;
|
45 |
}
|
|
|
46 |
#model-info { text-align: center; }
|
47 |
"""
|
48 |
|
@@ -63,7 +64,7 @@ with gr.Blocks(css=css, fill_width=True, elem_id="container") as demo:
|
|
63 |
run_button = gr.Button("Run")
|
64 |
run_translate_button = gr.Button("Translate")
|
65 |
|
66 |
-
result = gr.Image(label="Result", show_label=False, interactive=False, show_download_button=True, show_share_button=False, container=True)
|
67 |
|
68 |
with gr.Accordion("Advanced Settings", open=False):
|
69 |
|
|
|
43 |
#col-container {
|
44 |
margin: 0 auto;
|
45 |
}
|
46 |
+
#result { max-width: 520px; max-height: 520px; width: 520px; height: 520px; }
|
47 |
#model-info { text-align: center; }
|
48 |
"""
|
49 |
|
|
|
64 |
run_button = gr.Button("Run")
|
65 |
run_translate_button = gr.Button("Translate")
|
66 |
|
67 |
+
result = gr.Image(label="Result", elem_id="result", show_label=False, interactive=False, show_download_button=True, show_share_button=False, container=True)
|
68 |
|
69 |
with gr.Accordion("Advanced Settings", open=False):
|
70 |
|