Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ with gr.Blocks() as face:
|
|
131 |
latestConvo = gr.Textbox(label="Running conversation")
|
132 |
#transcribe_btn.click(inference)
|
133 |
transcribe_btn.click(fn=inference, inputs=[audio, promptText, dropChoice, sliderChoice, convoState], outputs=[script, option1, option2, option3, option4, option5, latestConvo])
|
134 |
-
gr.Button.click(appendPrediction, option1, latestConvo)
|
135 |
#examples = gr.Examples(examples=["Sedan, Truck, SUV", "Dalmaion, Shepherd, Lab, Mutt"], inputs=[options])
|
136 |
|
137 |
|
|
|
131 |
latestConvo = gr.Textbox(label="Running conversation")
|
132 |
#transcribe_btn.click(inference)
|
133 |
transcribe_btn.click(fn=inference, inputs=[audio, promptText, dropChoice, sliderChoice, convoState], outputs=[script, option1, option2, option3, option4, option5, latestConvo])
|
134 |
+
gr.Button.click(appendPrediction, inputs=[option1, convoState], outputs=[latestConvo])
|
135 |
#examples = gr.Examples(examples=["Sedan, Truck, SUV", "Dalmaion, Shepherd, Lab, Mutt"], inputs=[options])
|
136 |
|
137 |
|