Tomtom84 commited on
Commit
2c4bdb2
·
verified ·
1 Parent(s): 15791e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -229,15 +229,6 @@ with gr.Blocks(title="Orpheus Text-to-Speech") as demo:
229
  with gr.Column(scale=2):
230
  audio_output = gr.Audio(label="Generated Speech", type="numpy")
231
 
232
- # Set up examples
233
- demo = demo.queue()
234
- gr.Examples(
235
- examples=examples,
236
- inputs=[text_input, voice, temperature, top_p, repetition_penalty, max_new_tokens],
237
- outputs=audio_output,
238
- fn=generate_speech,
239
- cache_examples=False,
240
- )
241
 
242
  # Set up event handlers
243
  submit_btn.click(
 
229
  with gr.Column(scale=2):
230
  audio_output = gr.Audio(label="Generated Speech", type="numpy")
231
 
 
 
 
 
 
 
 
 
 
232
 
233
  # Set up event handlers
234
  submit_btn.click(