Upload app.py
Browse files
app.py
CHANGED
|
@@ -1520,7 +1520,12 @@ with gr.Blocks(
|
|
| 1520 |
|
| 1521 |
with gr.Row():
|
| 1522 |
chat_msg = gr.Textbox(placeholder="Ask me anything about the mall...", label="Message", scale=4)
|
| 1523 |
-
chat_mic = gr.Audio(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1524 |
|
| 1525 |
chat_audio_out = gr.Audio(label="Voice Response")
|
| 1526 |
chat_img_out = gr.Image(label="Navigation Map", type="filepath")
|
|
|
|
| 1520 |
|
| 1521 |
with gr.Row():
|
| 1522 |
chat_msg = gr.Textbox(placeholder="Ask me anything about the mall...", label="Message", scale=4)
|
| 1523 |
+
chat_mic = gr.Audio(
|
| 1524 |
+
sources=["microphone"],
|
| 1525 |
+
type="filepath",
|
| 1526 |
+
label="🎤",
|
| 1527 |
+
scale=1
|
| 1528 |
+
)
|
| 1529 |
|
| 1530 |
chat_audio_out = gr.Audio(label="Voice Response")
|
| 1531 |
chat_img_out = gr.Image(label="Navigation Map", type="filepath")
|