Update app.py
Browse files
app.py
CHANGED
|
@@ -44,10 +44,6 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 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.",
|
| 51 |
additional_inputs=[
|
| 52 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
| 53 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
|
| 44 |
"""
|
| 45 |
demo = gr.ChatInterface(
|
| 46 |
respond,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
additional_inputs=[
|
| 48 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
| 49 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|