Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -179,13 +179,13 @@ with gr.Blocks() as demo:
|
|
| 179 |
gr.Markdown("### Step 3: Start Interview")
|
| 180 |
chatbot = gr.Chatbot(label="Interview Bot")
|
| 181 |
|
| 182 |
-
with gr.Row():
|
| 183 |
-
|
| 184 |
-
|
| 185 |
|
| 186 |
-
with gr.Row():
|
| 187 |
-
|
| 188 |
-
|
| 189 |
|
| 190 |
|
| 191 |
send_btn.click(respond, inputs=[msg, chat_history, user_profile], outputs=[chatbot], queue=False)
|
|
|
|
| 179 |
gr.Markdown("### Step 3: Start Interview")
|
| 180 |
chatbot = gr.Chatbot(label="Interview Bot")
|
| 181 |
|
| 182 |
+
with gr.Row():
|
| 183 |
+
msg = gr.Textbox(label="Your message")
|
| 184 |
+
audio_input = gr.Audio(type="filepath", label="ποΈ Upload or Record your answer")
|
| 185 |
|
| 186 |
+
with gr.Row():
|
| 187 |
+
send_btn = gr.Button("Send Text")
|
| 188 |
+
audio_btn = gr.Button("Send Audio")
|
| 189 |
|
| 190 |
|
| 191 |
send_btn.click(respond, inputs=[msg, chat_history, user_profile], outputs=[chatbot], queue=False)
|