Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ with gr.Blocks(title="Voice Bot: Krishnavamshi Thumma") as demo:
|
|
62 |
|
63 |
api_key = gr.Textbox(label="π OpenAI API Key", type="password")
|
64 |
chatbot = gr.Chatbot(label="π§ Voice Bot", type="messages")
|
65 |
-
mic = gr.Audio(
|
66 |
clear = gr.Button("Clear chat")
|
67 |
state = gr.State([])
|
68 |
|
|
|
62 |
|
63 |
api_key = gr.Textbox(label="π OpenAI API Key", type="password")
|
64 |
chatbot = gr.Chatbot(label="π§ Voice Bot", type="messages")
|
65 |
+
mic = gr.Audio(sources=["microphone"], type="filepath", label="π€ Record your question")
|
66 |
clear = gr.Button("Clear chat")
|
67 |
state = gr.State([])
|
68 |
|