sonobit commited on
Commit
73a2ed7
·
1 Parent(s): 1ca3995

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ auth_token = os.getenv("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")
9
  demo = gr.Interface.load(
10
  "huggingface/facebook/wav2vec2-base-960h",
11
  title="Speech-to-text",
12
- inputs=gr.inputs.Audio(source="microphone", type="filepath", optional=True, label="Speaker #1"),
13
  description="Let me try to guess what you're saying!",
14
  #api_key=auth_token
15
  )
 
9
  demo = gr.Interface.load(
10
  "huggingface/facebook/wav2vec2-base-960h",
11
  title="Speech-to-text",
12
+ inputs=gr.Inputs.Audio(source="microphone"),
13
  description="Let me try to guess what you're saying!",
14
  #api_key=auth_token
15
  )