Ritwika-Das-Gupta commited on
Commit
b5c5d1e
·
verified ·
1 Parent(s): 962f03d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -158,8 +158,9 @@ iface = gr.Interface(
158
  inputs=gr.Audio(label="Record Audio", type="filepath"),
159
  outputs=[gr.Audio(label="Processed Audio"), gr.Textbox(label="Transcription"), gr.Textbox(label="Response")]
160
  )
 
 
161
 
162
- iface.launch(share=True)
163
 
164
 
165
 
 
158
  inputs=gr.Audio(label="Record Audio", type="filepath"),
159
  outputs=[gr.Audio(label="Processed Audio"), gr.Textbox(label="Transcription"), gr.Textbox(label="Response")]
160
  )
161
+ if __name__ == "__main__":
162
+ iface.launch(share=True)
163
 
 
164
 
165
 
166