Upload app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ with gr.Blocks(fill_width=True, elem_id="container", css=css, delete_cache=(60,
|
|
57 |
run_translate_button = gr.Button("Run with LLM Enhance", variant="secondary", scale=3)
|
58 |
auto_trans = gr.Checkbox(label="Auto translate to English", value=False, scale=2)
|
59 |
|
60 |
-
result = gr.Image(label="Result", elem_id="result", format="png", type="
|
61 |
show_download_button=True, show_share_button=False, container=True)
|
62 |
with gr.Accordion("History", open=False):
|
63 |
history_gallery = gr.Gallery(label="History", columns=6, object_fit="contain", format="png", interactive=False, show_share_button=False,
|
|
|
57 |
run_translate_button = gr.Button("Run with LLM Enhance", variant="secondary", scale=3)
|
58 |
auto_trans = gr.Checkbox(label="Auto translate to English", value=False, scale=2)
|
59 |
|
60 |
+
result = gr.Image(label="Result", elem_id="result", format="png", type="filepath", show_label=False, interactive=False,
|
61 |
show_download_button=True, show_share_button=False, container=True)
|
62 |
with gr.Accordion("History", open=False):
|
63 |
history_gallery = gr.Gallery(label="History", columns=6, object_fit="contain", format="png", interactive=False, show_share_button=False,
|