Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
| 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 |
)
|