Spaces:
Runtime error
Runtime error
Add cache
Browse files
app.py
CHANGED
@@ -340,8 +340,8 @@ with gr.Blocks() as demo:
|
|
340 |
fn=main,
|
341 |
inputs=[input_1, input_2],
|
342 |
outputs=[output_1, output_2],
|
343 |
-
|
344 |
-
|
345 |
),
|
346 |
com_1_value, com_2_value = "Pls finish article updating, then click the button above", "Pls finish article updating, then click the button above."
|
347 |
with gr.Tab("Compare between versions"):
|
|
|
340 |
fn=main,
|
341 |
inputs=[input_1, input_2],
|
342 |
outputs=[output_1, output_2],
|
343 |
+
cache_examples=True,
|
344 |
+
run_on_click=True,
|
345 |
),
|
346 |
com_1_value, com_2_value = "Pls finish article updating, then click the button above", "Pls finish article updating, then click the button above."
|
347 |
with gr.Tab("Compare between versions"):
|