Spaces:
Runtime error
Runtime error
Add cache prebuild
Browse files
app.py
CHANGED
@@ -328,8 +328,8 @@ with gr.Blocks() as demo:
|
|
328 |
fn=main,
|
329 |
inputs=[input_1, input_2],
|
330 |
outputs=[output_1, output_2],
|
331 |
-
|
332 |
-
|
333 |
),
|
334 |
com_1_value, com_2_value = "Pls finish article updating, then click the button above", "Pls finish article updating, then click the button above."
|
335 |
with gr.Tab("Compare between versions"):
|
|
|
328 |
fn=main,
|
329 |
inputs=[input_1, input_2],
|
330 |
outputs=[output_1, output_2],
|
331 |
+
cache_examples=True,
|
332 |
+
run_on_click=True,
|
333 |
),
|
334 |
com_1_value, com_2_value = "Pls finish article updating, then click the button above", "Pls finish article updating, then click the button above."
|
335 |
with gr.Tab("Compare between versions"):
|