RamAnanth1 commited on
Commit
0347c50
·
1 Parent(s): 7a9a684

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -152,7 +152,9 @@ with gr.Blocks(title='Talk to chatGPT') as demo:
152
  with gr.Row(elem_id="chat_row"):
153
  chatbot = gr.Chatbot(elem_id="chat_bot", visible=False).style(color_map=("green", "blue"))
154
  chatbot1 = gr.Chatbot(elem_id="chat_bot1").style(color_map=("green", "blue"))
155
- with gr.Row(elem_id="prompt_row"):
 
 
156
  with gr.Column():
157
  prompt_input_audio = gr.Audio(
158
  source="microphone",
@@ -166,8 +168,7 @@ with gr.Blocks(title='Talk to chatGPT') as demo:
166
  inputs=prompt_input_audio,
167
  outputs=prompt_input
168
  )
169
- prompt_input = gr.Textbox(lines=2, label="Input text",show_label=True)
170
- chat_history = gr.Textbox(lines=4, label="prompt", visible=False)
171
  submit_btn = gr.Button(value = "Submit",elem_id="submit-btn").style(
172
  margin=True,
173
  rounded=(True, True, True, True),
 
152
  with gr.Row(elem_id="chat_row"):
153
  chatbot = gr.Chatbot(elem_id="chat_bot", visible=False).style(color_map=("green", "blue"))
154
  chatbot1 = gr.Chatbot(elem_id="chat_bot1").style(color_map=("green", "blue"))
155
+ with gr.Row(elem_id="prompt_row"):
156
+ prompt_input = gr.Textbox(lines=2, label="Input text",show_label=True)
157
+ chat_history = gr.Textbox(lines=4, label="prompt", visible=False)
158
  with gr.Column():
159
  prompt_input_audio = gr.Audio(
160
  source="microphone",
 
168
  inputs=prompt_input_audio,
169
  outputs=prompt_input
170
  )
171
+
 
172
  submit_btn = gr.Button(value = "Submit",elem_id="submit-btn").style(
173
  margin=True,
174
  rounded=(True, True, True, True),