Spaces:
Running
Running
ndelworth08
commited on
Commit
•
2f57ed2
1
Parent(s):
a515775
adding audio examples
Browse files- app.py +12 -1
- examples/POD1000000012_S0000307.wav +0 -0
- examples/POD1000000012_S0000335.wav +0 -0
- examples/POD1000000012_S0000387.wav +0 -0
- examples/POD1000000013_S0000062.wav +0 -0
- examples/POD1000000032_S0000020.wav +0 -0
- examples/POD1000000032_S0000038.wav +0 -0
- examples/POD1000000032_S0000050.wav +0 -0
- examples/POD1000000032_S0000058.wav +0 -0
- examples/YOU1000000039_S0000057.wav +0 -0
- examples/YOU1000000043_S0000118.wav +0 -0
app.py
CHANGED
@@ -62,6 +62,16 @@ inputs = [
|
|
62 |
gr.Slider(0, 1, value=0, label="Verbatimicity - from non-verbatim (0) to verbatim (1)", info="Choose a transcription style between non-verbatim and verbatim"),
|
63 |
]
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
output = gr.outputs.Textbox(label="Output Text")
|
66 |
|
67 |
text = "Reginald Transcription Styles Demo"
|
@@ -73,7 +83,7 @@ description = (
|
|
73 |
|
74 |
article = (
|
75 |
"<p style='text-align: center'>"
|
76 |
-
"<a href='https://rev.com' target='_blank'>
|
77 |
"</p>")
|
78 |
|
79 |
interface = gr.Interface(
|
@@ -83,6 +93,7 @@ interface = gr.Interface(
|
|
83 |
title=text,
|
84 |
description=description,
|
85 |
article=article,
|
|
|
86 |
theme='huggingface',
|
87 |
)
|
88 |
|
|
|
62 |
gr.Slider(0, 1, value=0, label="Verbatimicity - from non-verbatim (0) to verbatim (1)", info="Choose a transcription style between non-verbatim and verbatim"),
|
63 |
]
|
64 |
|
65 |
+
examples = [
|
66 |
+
['examples/POD1000000012_S0000335.wav'],
|
67 |
+
['examples/POD1000000013_S0000062.wav'],
|
68 |
+
['examples/POD1000000032_S0000020.wav'],
|
69 |
+
['examples/POD1000000032_S0000038.wav'],
|
70 |
+
['examples/POD1000000032_S0000050.wav'],
|
71 |
+
['examples/POD1000000032_S0000058.wav'],
|
72 |
+
]
|
73 |
+
|
74 |
+
|
75 |
output = gr.outputs.Textbox(label="Output Text")
|
76 |
|
77 |
text = "Reginald Transcription Styles Demo"
|
|
|
83 |
|
84 |
article = (
|
85 |
"<p style='text-align: center'>"
|
86 |
+
"<a href='https://rev.com' target='_blank'>Learn more about Rev</a>" # noqa
|
87 |
"</p>")
|
88 |
|
89 |
interface = gr.Interface(
|
|
|
93 |
title=text,
|
94 |
description=description,
|
95 |
article=article,
|
96 |
+
examples=examples,
|
97 |
theme='huggingface',
|
98 |
)
|
99 |
|
examples/POD1000000012_S0000307.wav
ADDED
Binary file (26.8 kB). View file
|
|
examples/POD1000000012_S0000335.wav
ADDED
Binary file (380 kB). View file
|
|
examples/POD1000000012_S0000387.wav
ADDED
Binary file (93.6 kB). View file
|
|
examples/POD1000000013_S0000062.wav
ADDED
Binary file (78.4 kB). View file
|
|
examples/POD1000000032_S0000020.wav
ADDED
Binary file (110 kB). View file
|
|
examples/POD1000000032_S0000038.wav
ADDED
Binary file (431 kB). View file
|
|
examples/POD1000000032_S0000050.wav
ADDED
Binary file (214 kB). View file
|
|
examples/POD1000000032_S0000058.wav
ADDED
Binary file (190 kB). View file
|
|
examples/YOU1000000039_S0000057.wav
ADDED
Binary file (49.6 kB). View file
|
|
examples/YOU1000000043_S0000118.wav
ADDED
Binary file (212 kB). View file
|
|