Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -105,5 +105,6 @@ gr.Interface(
|
|
105 |
fn=assistant, # Function to call when the interface is run
|
106 |
inputs=gr.Audio(type="filepath"), # Audio input, expecting a file path from the microphone
|
107 |
outputs=[gr.Textbox(), gr.Audio(type="filepath", label="Response Audio")], # Outputs text and the response audio
|
108 |
-
title="Sema Voice Assistant"
|
|
|
109 |
).launch(share=True)
|
|
|
105 |
fn=assistant, # Function to call when the interface is run
|
106 |
inputs=gr.Audio(type="filepath"), # Audio input, expecting a file path from the microphone
|
107 |
outputs=[gr.Textbox(), gr.Audio(type="filepath", label="Response Audio")], # Outputs text and the response audio
|
108 |
+
title="Sema Voice Assistant",
|
109 |
+
live=True # Automatically submit the input after recording
|
110 |
).launch(share=True)
|