ObindiG commited on
Commit
4eedc97
·
verified ·
1 Parent(s): 4f09ca8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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)