Raghavan1988 commited on
Commit
726d9bf
1 Parent(s): b2b4b23

adding microphone input

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -255,6 +255,7 @@ iface = gr.Interface(
255
  inputs=[
256
  gr.Textbox(label="Input Text"),
257
  gr.Image(label="Upload Image"),
 
258
  ],
259
  outputs=[gr.Markdown(label="Output Text")],
260
  title="👋🏻Welcome to ⚕🗣️😷MultiMed - Access Chat ⚕🗣️😷",
 
255
  inputs=[
256
  gr.Textbox(label="Input Text"),
257
  gr.Image(label="Upload Image"),
258
+ gr.inputs.Audio(source="microphone",type="filepath", optional=True),
259
  ],
260
  outputs=[gr.Markdown(label="Output Text")],
261
  title="👋🏻Welcome to ⚕🗣️😷MultiMed - Access Chat ⚕🗣️😷",