Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ with gr.Blocks(title="Whisper, Vicuna, & TTS Demo") as demo: # Updated title
|
|
107 |
mic_input = gr.Audio(sources="microphone", type="filepath", label="Speak Here")
|
108 |
transcription_output = gr.Textbox(lines=5, label="Transcription and Vicuna Response")
|
109 |
audio_output = gr.Audio(label="Synthesized Speech", type="numpy", autoplay=True)
|
110 |
-
answer_mode = gr.Radio(["fast", "medium", "slow"])
|
111 |
transcription_state = gr.State(value="")
|
112 |
mic_input.change(
|
113 |
fn=process_audio,
|
|
|
107 |
mic_input = gr.Audio(sources="microphone", type="filepath", label="Speak Here")
|
108 |
transcription_output = gr.Textbox(lines=5, label="Transcription and Vicuna Response")
|
109 |
audio_output = gr.Audio(label="Synthesized Speech", type="numpy", autoplay=True)
|
110 |
+
answer_mode = gr.Radio(["fast", "medium", "slow"], value='medium')
|
111 |
transcription_state = gr.State(value="")
|
112 |
mic_input.change(
|
113 |
fn=process_audio,
|