sanchit-gandhi HF staff commited on
Commit
4282661
1 Parent(s): 648709a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ def generate_audio(text_prompt, audio_length_in_s=10.0, play_steps_in_s=2.0):
165
 
166
  set_seed(0)
167
  for new_audio in streamer:
168
- yield gr.make_waveform((sampling_rate, new_audio))
169
 
170
 
171
  demo = gr.Interface(
 
165
 
166
  set_seed(0)
167
  for new_audio in streamer:
168
+ yield (sampling_rate, new_audio)
169
 
170
 
171
  demo = gr.Interface(