Spaces:
Runtime error
Runtime error
changes updated in app.py
Browse files
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(
|
|
|
|
| 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()
|