Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -59,11 +59,11 @@ with gr.Blocks() as gui:
|
|
59 |
transcribeButton = gr.Button("Transcribe")
|
60 |
runButton = gr.Button("Run")
|
61 |
|
62 |
-
transcribeButton.click(fn=transcribe,inputs=audio, outputs=[input1])
|
63 |
#output object
|
64 |
output = gr.Label(label="Output")
|
65 |
|
66 |
-
runButton.click(fn=zero_shot, inputs=[
|
67 |
|
68 |
#display the interface
|
69 |
gui.launch()
|
|
|
59 |
transcribeButton = gr.Button("Transcribe")
|
60 |
runButton = gr.Button("Run")
|
61 |
|
62 |
+
transcribeButton.click(fn=transcribe,inputs=[audio], outputs=[input1])
|
63 |
#output object
|
64 |
output = gr.Label(label="Output")
|
65 |
|
66 |
+
runButton.click(fn=zero_shot, inputs=[input1, input2], outputs=[output])
|
67 |
|
68 |
#display the interface
|
69 |
gui.launch()
|