Spaces:
Runtime error
Runtime error
Harshad Bhandwaldar
commited on
Commit
·
3379778
1
Parent(s):
232248c
model added
Browse files
app.py
CHANGED
@@ -84,8 +84,9 @@ with block:
|
|
84 |
|
85 |
chatbot = gr.Chatbot()
|
86 |
message = gr.Textbox(placeholder=prompt)
|
|
|
87 |
state = gr.State()
|
88 |
submit = gr.Button("SEND")
|
89 |
-
submit.click(chatbot_response, inputs=message, outputs=
|
90 |
|
91 |
block.launch(debug = True)
|
|
|
84 |
|
85 |
chatbot = gr.Chatbot()
|
86 |
message = gr.Textbox(placeholder=prompt)
|
87 |
+
text_output = gr.Textbox(label="Transcription", show_label=False)
|
88 |
state = gr.State()
|
89 |
submit = gr.Button("SEND")
|
90 |
+
submit.click(chatbot_response, inputs=message, outputs=text_output)
|
91 |
|
92 |
block.launch(debug = True)
|