Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 44 |
"""
|
| 45 |
demo = gr.ChatInterface(
|
| 46 |
respond,
|
| 47 |
-
inputs=gr.Audio(
|
| 48 |
outputs="text",
|
| 49 |
title="Voice Assistant",
|
| 50 |
description="Say ALICE followed by your prompt to activate the assistant.",
|
|
|
|
| 44 |
"""
|
| 45 |
demo = gr.ChatInterface(
|
| 46 |
respond,
|
| 47 |
+
inputs=gr.Audio(sources="microphone", type="filepath"),
|
| 48 |
outputs="text",
|
| 49 |
title="Voice Assistant",
|
| 50 |
description="Say ALICE followed by your prompt to activate the assistant.",
|