Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -87,7 +87,7 @@ with gr.Blocks() as face:
|
|
| 87 |
script = gr.Textbox(label="text...")
|
| 88 |
options = gr.Textbox(label="predictions...")
|
| 89 |
#transcribe_btn.click(inference)
|
| 90 |
-
transcribe_btn.click(fn=inference, inputs=[audio
|
| 91 |
#examples = gr.Examples(examples=["Sedan, Truck, SUV", "Dalmaion, Shepherd, Lab, Mutt"])
|
| 92 |
|
| 93 |
face.launch()
|
|
|
|
| 87 |
script = gr.Textbox(label="text...")
|
| 88 |
options = gr.Textbox(label="predictions...")
|
| 89 |
#transcribe_btn.click(inference)
|
| 90 |
+
transcribe_btn.click(fn=inference, inputs=[audio], outputs=[script, options])
|
| 91 |
#examples = gr.Examples(examples=["Sedan, Truck, SUV", "Dalmaion, Shepherd, Lab, Mutt"])
|
| 92 |
|
| 93 |
face.launch()
|