Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -149,9 +149,7 @@ with gr.Blocks(title="Whisper, Vicuna, & TTS Demo") as demo: # Updated title
|
|
149 |
gr.Markdown("Speak into your microphone, get a transcription, Vicuna will process it, and then you'll hear the result!")
|
150 |
with gr.Tab("Transcribe & Synthesize"):
|
151 |
with gr.Row(): # Added a row for better layout
|
152 |
-
|
153 |
-
stop_button = gr.Button("Stop", elem_id="stop_button")
|
154 |
-
mic_input = gr.Audio(sources="microphone", type="filepath", label="Speak Here")
|
155 |
audio_upload = gr.Audio(sources="upload", type="filepath", label="Or Upload Audio File") # Added upload component
|
156 |
transcription_output = gr.Textbox(lines=5, label="Transcription and Vicuna Response")
|
157 |
audio_output = gr.Audio(label="Synthesized Speech", type="numpy", autoplay=True)
|
|
|
149 |
gr.Markdown("Speak into your microphone, get a transcription, Vicuna will process it, and then you'll hear the result!")
|
150 |
with gr.Tab("Transcribe & Synthesize"):
|
151 |
with gr.Row(): # Added a row for better layout
|
152 |
+
mic_input = gr.Audio(sources="microphone", type="filepath", label="Speak Here", elem_id="mic_audio")
|
|
|
|
|
153 |
audio_upload = gr.Audio(sources="upload", type="filepath", label="Or Upload Audio File") # Added upload component
|
154 |
transcription_output = gr.Textbox(lines=5, label="Transcription and Vicuna Response")
|
155 |
audio_output = gr.Audio(label="Synthesized Speech", type="numpy", autoplay=True)
|