Spaces:
Runtime error
Runtime error
Reference added
Browse files
app.py
CHANGED
@@ -45,7 +45,8 @@ def speech_to_text(mic=None, file=None):
|
|
45 |
with gr.Blocks() as demo:
|
46 |
gr.Markdown( """
|
47 |
# 🎤 Sing or tell your story and let this Space ✨ visualize your story along
|
48 |
-
|
|
|
49 |
- Near real time(streaming option)
|
50 |
- Option playback of you audio relayed with video
|
51 |
""")
|
@@ -53,7 +54,7 @@ with gr.Blocks() as demo:
|
|
53 |
with gr.Column():
|
54 |
audio_file =[
|
55 |
gr.Audio(source="microphone", type="filepath", optional=True, label="Speak here..."),
|
56 |
-
gr.Audio(source="upload", type="filepath", optional=True
|
57 |
text = gr.Textbox(label="Text", placeholder="If you dont want to record or upload your voice you can input text here")
|
58 |
with gr.Row():
|
59 |
s2t = gr.Button("Speech to text go brrr")
|
|
|
45 |
with gr.Blocks() as demo:
|
46 |
gr.Markdown( """
|
47 |
# 🎤 Sing or tell your story and let this Space ✨ visualize your story along
|
48 |
+
Inspired by this [tweet](https://twitter.com/karenxcheng/status/1516816114994454529?s=20&t=moq2vK5430JoerJXBTkIuA)
|
49 |
+
Soon to be added:
|
50 |
- Near real time(streaming option)
|
51 |
- Option playback of you audio relayed with video
|
52 |
""")
|
|
|
54 |
with gr.Column():
|
55 |
audio_file =[
|
56 |
gr.Audio(source="microphone", type="filepath", optional=True, label="Speak here..."),
|
57 |
+
gr.Audio(source="upload", type="filepath", optional=True, label="Or if you want upload here...")]
|
58 |
text = gr.Textbox(label="Text", placeholder="If you dont want to record or upload your voice you can input text here")
|
59 |
with gr.Row():
|
60 |
s2t = gr.Button("Speech to text go brrr")
|