Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def voice_chat(audio, max_tokens):
|
|
27 |
voice_interface = gr.Interface(
|
28 |
fn=voice_chat,
|
29 |
inputs=[
|
30 |
-
gr.Audio(
|
31 |
gr.Slider(minimum=128, maximum=2048, value=512, step=1, label="Max new tokens")
|
32 |
],
|
33 |
outputs=[
|
|
|
27 |
voice_interface = gr.Interface(
|
28 |
fn=voice_chat,
|
29 |
inputs=[
|
30 |
+
gr.Audio(type="filepath", label="Speak to Luna"),
|
31 |
gr.Slider(minimum=128, maximum=2048, value=512, step=1, label="Max new tokens")
|
32 |
],
|
33 |
outputs=[
|