khan123 commited on
Commit
2fd5502
β€’
1 Parent(s): d73593f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ with main_api as demo:
69
  transcription = gr.Textbox(label='μ§€κΈˆ μ΄ˆμ½”κ°€ ν•˜λŠ” 말은...')
70
  b1 = gr.Button("강아지 μ–Έμ–΄ λ²ˆμ—­!")
71
 
72
- b1.click(gaepago_fn, inputs=audio, outputs=transcription)
73
  examples = gr.Examples(examples=example_list, inputs=[audio])
74
 
75
  demo.launch()
 
69
  transcription = gr.Textbox(label='μ§€κΈˆ μ΄ˆμ½”κ°€ ν•˜λŠ” 말은...')
70
  b1 = gr.Button("강아지 μ–Έμ–΄ λ²ˆμ—­!")
71
 
72
+ b1.click(gaepago_fn, inputs=audio, outputs=transcription,api_name="predict")
73
  examples = gr.Examples(examples=example_list, inputs=[audio])
74
 
75
  demo.launch()