Spaces:
Build error
Build error
Commit
·
091c33b
1
Parent(s):
57aeec6
fix loading of examples
Browse files
app.py
CHANGED
|
@@ -73,7 +73,10 @@ demo = gr.Interface(
|
|
| 73 |
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe or translate audio files"
|
| 74 |
" of arbitrary length."
|
| 75 |
),
|
| 76 |
-
examples=
|
|
|
|
|
|
|
|
|
|
| 77 |
cache_examples=True,
|
| 78 |
allow_flagging="never",
|
| 79 |
)
|
|
|
|
| 73 |
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe or translate audio files"
|
| 74 |
" of arbitrary length."
|
| 75 |
),
|
| 76 |
+
examples=[
|
| 77 |
+
["examples/example.flac", "transcribe", False],
|
| 78 |
+
["examples/example.flac", "transcribe", True],
|
| 79 |
+
],
|
| 80 |
cache_examples=True,
|
| 81 |
allow_flagging="never",
|
| 82 |
)
|