Mohinikathro commited on
Commit
aacbe29
·
verified ·
1 Parent(s): 448110d

changes updated in app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -228,7 +228,7 @@ with gr.Blocks() as demo:
228
  )
229
 
230
  start_button = gr.Button("Start Interview")
231
- chatbot = gr.Chatbot(label="Interview Conversation", height=450)
232
 
233
  with gr.Row():
234
  response_input = gr.Textbox(label="Your Response (type 'exit' to quit)", lines=2)
@@ -245,4 +245,4 @@ with gr.Blocks() as demo:
245
  exit_button.click(end_interview, inputs=state, outputs=[chatbot, state])
246
  clear_button.click(clear_state, outputs=[chatbot, state])
247
 
248
- demo.launch(ssr=False)
 
228
  )
229
 
230
  start_button = gr.Button("Start Interview")
231
+ chatbot = gr.Chatbot(label="Interview Conversation", height=450, type="messages")
232
 
233
  with gr.Row():
234
  response_input = gr.Textbox(label="Your Response (type 'exit' to quit)", lines=2)
 
245
  exit_button.click(end_interview, inputs=state, outputs=[chatbot, state])
246
  clear_button.click(clear_state, outputs=[chatbot, state])
247
 
248
+ demo.launch()