Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ with gr.Blocks() as demo:
|
|
106 |
gr.Markdown("# Mood-Based Music Recommender with Voice Chat")
|
107 |
|
108 |
chatbot = gr.Chatbot()
|
109 |
-
audio_input = gr.Audio(
|
110 |
text_input = gr.Textbox(placeholder="Type your message here...")
|
111 |
audio_output = gr.Audio(label="AI Response")
|
112 |
|
|
|
106 |
gr.Markdown("# Mood-Based Music Recommender with Voice Chat")
|
107 |
|
108 |
chatbot = gr.Chatbot()
|
109 |
+
audio_input = gr.Audio(sources="microphone", type="filepath")
|
110 |
text_input = gr.Textbox(placeholder="Type your message here...")
|
111 |
audio_output = gr.Audio(label="AI Response")
|
112 |
|