ford442 commited on
Commit
13f2800
·
verified ·
1 Parent(s): 95029f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,