Tonic commited on
Commit
6c93589
Β·
verified Β·
1 Parent(s): 972c178

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -118,8 +118,8 @@ def main():
118
  txt_pat = gr.Textbox(label="Clarifai PAT", type="password", placeholder="Enter Clarifai PAT here")
119
  txt_query = gr.Textbox(label="Describe your problem in detail:")
120
  txt_max_auto_reply = gr.Number(label="Max Auto Replies", value=50)
121
- audio_input = gr.Audio(label="Or speak your problem here:", type="numpy", optional=True)
122
- image_input = gr.Image(label="Or upload an image related to your problem:", type="numpy", optional=True)
123
  btn_submit = gr.Button("Submit")
124
  output = gr.Textbox(label="Output", readonly=True)
125
 
 
118
  txt_pat = gr.Textbox(label="Clarifai PAT", type="password", placeholder="Enter Clarifai PAT here")
119
  txt_query = gr.Textbox(label="Describe your problem in detail:")
120
  txt_max_auto_reply = gr.Number(label="Max Auto Replies", value=50)
121
+ audio_input = gr.Audio(label="Or speak your problem here:", type="numpy")
122
+ image_input = gr.Image(label="Or upload an image related to your problem:", type="numpy")
123
  btn_submit = gr.Button("Submit")
124
  output = gr.Textbox(label="Output", readonly=True)
125