Spaces:
Sleeping
Sleeping
0xrushi
commited on
Commit
·
2c5fb56
1
Parent(s):
06bc80f
examples
Browse files- examples/output1.wav +3 -0
- examples/output2.wav +3 -0
- examples/output3.wav +3 -0
- scripts/generate_quote_gradio.py +5 -0
examples/output1.wav
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af95af40b58fec9796aa23ab556da0a3e18282cff1519bc72850f4cd85c157f5
|
3 |
+
size 624140
|
examples/output2.wav
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da6b7d89dcd47b19fa798a2503fb436b31e8cd74d99b3c22b65ce751b17c3b23
|
3 |
+
size 4733912
|
examples/output3.wav
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7615553a48aa062474b4b19327964cc81b7d09334ce38a1ad180fc699dccee55
|
3 |
+
size 2598416
|
scripts/generate_quote_gradio.py
CHANGED
@@ -80,6 +80,11 @@ with gr.Blocks() as demo:
|
|
80 |
label="Max Length"
|
81 |
)
|
82 |
generate_btn = gr.Button("Generate Quote")
|
|
|
|
|
|
|
|
|
|
|
83 |
|
84 |
with gr.Column():
|
85 |
text_output = gr.Textbox(label="Generated Quote")
|
|
|
80 |
label="Max Length"
|
81 |
)
|
82 |
generate_btn = gr.Button("Generate Quote")
|
83 |
+
gr.Markdown("---")
|
84 |
+
gr.Markdown("## Examples")
|
85 |
+
for file in sorted(os.listdir("examples")):
|
86 |
+
if file.startswith("output") and file.endswith(".wav"):
|
87 |
+
gr.Audio(os.path.join("examples", file), label=file, type="filepath")
|
88 |
|
89 |
with gr.Column():
|
90 |
text_output = gr.Textbox(label="Generated Quote")
|