fffiloni commited on
Commit
bd5e5e6
·
verified ·
1 Parent(s): 0b77f97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -283,7 +283,6 @@ gr_interface = gr.Interface(
283
  inputs=[input_text, denoising_steps, guidance_scale],
284
  outputs=[output_audio],
285
  description=description_text,
286
- allow_flagging=False,
287
  examples=[
288
  ["This techno song features a synth lead playing the main melody. This is accompanied by programmed percussion playing a simple kick focused beat. The hi-hat is accented in an open position on the 3-and count of every bar. The synth plays the bass part with a voicing that sounds like a cello. This techno song can be played in a club. The chord sequence is Gm, A7, Eb, Bb, C, F, Gm. The beat counts to 2. The tempo of this song is 128.0 beats per minute. The key of this song is G minor.", 200, 3],
289
  ["This is a new age piece. There is a flute playing the main melody with a lot of staccato notes. The rhythmic background consists of a medium tempo electronic drum beat with percussive elements all over the spectrum. There is a playful atmosphere to the piece. This piece can be used in the soundtrack of a children's TV show or an advertisement jingle.", 200, 3],
@@ -302,4 +301,4 @@ with gr.Blocks(css=css) as demo:
302
 
303
 
304
  # Launch Gradio app.
305
- demo.queue().launch()
 
283
  inputs=[input_text, denoising_steps, guidance_scale],
284
  outputs=[output_audio],
285
  description=description_text,
 
286
  examples=[
287
  ["This techno song features a synth lead playing the main melody. This is accompanied by programmed percussion playing a simple kick focused beat. The hi-hat is accented in an open position on the 3-and count of every bar. The synth plays the bass part with a voicing that sounds like a cello. This techno song can be played in a club. The chord sequence is Gm, A7, Eb, Bb, C, F, Gm. The beat counts to 2. The tempo of this song is 128.0 beats per minute. The key of this song is G minor.", 200, 3],
288
  ["This is a new age piece. There is a flute playing the main melody with a lot of staccato notes. The rhythmic background consists of a medium tempo electronic drum beat with percussive elements all over the spectrum. There is a playful atmosphere to the piece. This piece can be used in the soundtrack of a children's TV show or an advertisement jingle.", 200, 3],
 
301
 
302
 
303
  # Launch Gradio app.
304
+ demo.queue().launch(ssr_mode=False)