ford442 commited on
Commit
1fb301f
·
verified ·
1 Parent(s): 1c75248

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ with gr.Blocks(title="Whisper, Vicuna, & TTS Demo") as demo: # Updated title
79
  with gr.Tab("Transcribe & Synthesize"):
80
  mic_input = gr.Audio(sources="microphone", type="filepath", label="Speak Here")
81
  transcription_output = gr.Textbox(lines=5, label="Transcription and Vicuna Response")
82
- audio_output = gr.Audio(label="Synthesized Speech", type="numpy") # Important: type="numpy"
83
  transcription_state = gr.State(value="")
84
  mic_input.change(
85
  fn=process_audio, # Call the combined function
 
79
  with gr.Tab("Transcribe & Synthesize"):
80
  mic_input = gr.Audio(sources="microphone", type="filepath", label="Speak Here")
81
  transcription_output = gr.Textbox(lines=5, label="Transcription and Vicuna Response")
82
+ audio_output = gr.Audio(label="Synthesized Speech", type="numpy") # Important: type="numpy"
83
  transcription_state = gr.State(value="")
84
  mic_input.change(
85
  fn=process_audio, # Call the combined function