Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ with gr.Blocks(fill_width=True, elem_id="container", css=css, delete_cache=(60,
|
|
53 |
with gr.Row():
|
54 |
run_button = gr.Button("Run", variant="primary", scale=5)
|
55 |
run_translate_button = gr.Button("Run with LLM Enhance", variant="secondary", scale=3)
|
56 |
-
auto_trans = gr.Checkbox(label="Auto translate to English", value=
|
57 |
|
58 |
result = gr.Image(label="Result", elem_id="result", format="png", show_label=False, interactive=False,
|
59 |
show_download_button=True, show_share_button=False, container=True)
|
@@ -371,7 +371,7 @@ with gr.Blocks(fill_width=True, elem_id="container", css=css, delete_cache=(60,
|
|
371 |
copy_prompt_btn_pony.click(gradio_copy_prompt, inputs=[output_text_pony], outputs=[prompt], show_api=False)
|
372 |
|
373 |
gr.LoginButton()
|
374 |
-
gr.DuplicateButton(value="Duplicate Space for private use
|
375 |
|
376 |
demo.queue()
|
377 |
demo.launch()
|
|
|
53 |
with gr.Row():
|
54 |
run_button = gr.Button("Run", variant="primary", scale=5)
|
55 |
run_translate_button = gr.Button("Run with LLM Enhance", variant="secondary", scale=3)
|
56 |
+
auto_trans = gr.Checkbox(label="Auto translate to English", value=False, scale=2)
|
57 |
|
58 |
result = gr.Image(label="Result", elem_id="result", format="png", show_label=False, interactive=False,
|
59 |
show_download_button=True, show_share_button=False, container=True)
|
|
|
371 |
copy_prompt_btn_pony.click(gradio_copy_prompt, inputs=[output_text_pony], outputs=[prompt], show_api=False)
|
372 |
|
373 |
gr.LoginButton()
|
374 |
+
gr.DuplicateButton(value="Duplicate Space for private use (This demo does not work on CPU. Requires GPU Space)")
|
375 |
|
376 |
demo.queue()
|
377 |
demo.launch()
|