theQuert commited on
Commit
38e5dcb
·
1 Parent(s): 21cd2e3

Add cache prebuild

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- # 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"):
 
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"):