not-lain commited on
Commit
2506674
1 Parent(s): 726d9bf

fixed audio interface

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