csukuangfj
commited on
Commit
·
443ccfa
1
Parent(s):
b825d1e
small fixes
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
# References:
|
20 |
# https://gradio.app/docs/#dropdown
|
21 |
|
22 |
-
|
23 |
import logging
|
24 |
import os
|
25 |
from pathlib import Path
|
@@ -57,10 +57,15 @@ css = """
|
|
57 |
"""
|
58 |
|
59 |
examples = [
|
60 |
-
|
|
|
|
|
|
|
|
|
|
|
61 |
]
|
62 |
|
63 |
-
for name in examples:
|
64 |
filename = get_file(
|
65 |
"csukuangfj/vad",
|
66 |
name,
|
|
|
19 |
# References:
|
20 |
# https://gradio.app/docs/#dropdown
|
21 |
|
22 |
+
import shutil
|
23 |
import logging
|
24 |
import os
|
25 |
from pathlib import Path
|
|
|
57 |
"""
|
58 |
|
59 |
examples = [
|
60 |
+
[
|
61 |
+
"English",
|
62 |
+
"whisper-tiny.en",
|
63 |
+
"President-Obama-on-the-Importance-of-Education.mp4",
|
64 |
+
],
|
65 |
+
["English", "whisper-tiny.en", "jobs-at-stanford.mp4"],
|
66 |
]
|
67 |
|
68 |
+
for _, name, _ in examples:
|
69 |
filename = get_file(
|
70 |
"csukuangfj/vad",
|
71 |
name,
|