Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ with gr.Blocks(title="Whisper, Vicuna, & TTS Demo") as demo: # Updated title
|
|
93 |
with gr.Tab("Transcribe & Synthesize"):
|
94 |
mic_input = gr.Audio(sources="microphone", type="filepath", label="Speak Here")
|
95 |
transcription_output = gr.Textbox(lines=5, label="Transcription and Vicuna Response")
|
96 |
-
audio_output = gr.Audio(label="Synthesized Speech", type="numpy"
|
97 |
transcription_state = gr.State(value="")
|
98 |
mic_input.change(
|
99 |
fn=process_audio, # Call the combined function
|
|
|
93 |
with gr.Tab("Transcribe & Synthesize"):
|
94 |
mic_input = gr.Audio(sources="microphone", type="filepath", label="Speak Here")
|
95 |
transcription_output = gr.Textbox(lines=5, label="Transcription and Vicuna Response")
|
96 |
+
audio_output = gr.Audio(label="Synthesized Speech", type="numpy", autoplay=True)
|
97 |
transcription_state = gr.State(value="")
|
98 |
mic_input.change(
|
99 |
fn=process_audio, # Call the combined function
|