Ar4ikov commited on
Commit
d67af07
1 Parent(s): fc7ff3b

Edit output from text/plain to Gradio Label

Browse files

You also can use gr.Label as your output with parameters, see the [docs](https://www.gradio.app/docs/label) 🤗

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,6 +13,6 @@ demo = gr.Interface(
13
  fn=recognize,
14
  inputs=[
15
  gr.Audio(source="microphone", type="filepath")
16
- ], outputs="text")
17
 
18
  demo.launch()
 
13
  fn=recognize,
14
  inputs=[
15
  gr.Audio(source="microphone", type="filepath")
16
+ ], outputs="label")
17
 
18
  demo.launch()