Harshad Bhandwaldar commited on
Commit
8cc2b01
·
1 Parent(s): 3379778

model added

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -81,12 +81,10 @@ block = gr.Blocks()
81
 
82
 
83
  with block:
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)
 
81
 
82
 
83
  with block:
 
84
  chatbot = gr.Chatbot()
85
  message = gr.Textbox(placeholder=prompt)
 
86
  state = gr.State()
87
  submit = gr.Button("SEND")
88
+ submit.click(chatbot_response, inputs=[message, state], outputs=[chatbot, state])
89
 
90
  block.launch(debug = True)