changxin commited on
Commit
6613067
1 Parent(s): 123169c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -127,7 +127,7 @@ with demo:
127
  tts_button.click(fx4, inputs=TS_input, outputs=audio_output)
128
  pva_button.click(fx5, inputs=[],outputs=pva_output)
129
  ocr_button.click(fx6,inputs=ocr_input,outputs=ocr_output)
130
- zz1_button.click(fx7,inputs=zz1_input,outputs=zz1_output)
131
- zz2_button.click(fx8,inputs=zz1_input,outputs=zz1_output)
132
 
133
  demo.launch(enable_queue=True)
 
127
  tts_button.click(fx4, inputs=TS_input, outputs=audio_output)
128
  pva_button.click(fx5, inputs=[],outputs=pva_output)
129
  ocr_button.click(fx6,inputs=ocr_input,outputs=ocr_output)
130
+ zz1_button.click(fx7,inputs=zz1_input,outputs=zz1_output,api_name="zzpp")
131
+ zz2_button.click(fx8,inputs=zz1_input,outputs=zz1_output,api_name="zzth")
132
 
133
  demo.launch(enable_queue=True)