SivaResearch commited on
Commit
c619315
·
verified ·
1 Parent(s): 77492ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -81,7 +81,7 @@ gr.Interface(
81
  title="CAMAI - Centralized Actionable Multimodal Agri Assistant on Edge Intelligence for Farmers",
82
  fn=chat_interface,
83
  inputs=[
84
- gr.inputs.Audio(
85
  source="microphone", type="filepath", label="Record your voice"
86
  ),
87
  gr.inputs.File(label="Upload an audio file (optional)"),
@@ -91,4 +91,3 @@ gr.Interface(
91
  ],
92
  theme="darkly"
93
  ).launch()
94
-
 
81
  title="CAMAI - Centralized Actionable Multimodal Agri Assistant on Edge Intelligence for Farmers",
82
  fn=chat_interface,
83
  inputs=[
84
+ inputs.Audio( # Use 'inputs.Audio' instead of 'gr.inputs.Audio'
85
  source="microphone", type="filepath", label="Record your voice"
86
  ),
87
  gr.inputs.File(label="Upload an audio file (optional)"),
 
91
  ],
92
  theme="darkly"
93
  ).launch()