SivaResearch commited on
Commit
6fb7d93
·
verified ·
1 Parent(s): a36008d

update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -87,11 +87,10 @@ def chat_interface(audio):
87
  return outputs
88
 
89
 
90
- gr.Interface(
91
  title = 'CAMAI - Centralized Actionable Multimodal Agri Assistant on Edge Intelligence for Farmers ',
92
  fn=chat_interface,
93
  gr.inputs.Audio(source="microphone", type="filepath"),
94
- outputs=[
95
- "textbox"
96
- ],
97
- live=True).launch()
 
87
  return outputs
88
 
89
 
90
+ demo = gr.Interface(
91
  title = 'CAMAI - Centralized Actionable Multimodal Agri Assistant on Edge Intelligence for Farmers ',
92
  fn=chat_interface,
93
  gr.inputs.Audio(source="microphone", type="filepath"),
94
+ outputs=["textbox"],
95
+ live=True)
96
+ demo.launch()