Spaces:
Running on Zero
Running on Zero
disable caching examples
Browse files
app.py
CHANGED
|
@@ -279,9 +279,9 @@ css = '''
|
|
| 279 |
|
| 280 |
# Gradio interface
|
| 281 |
gr_interface = gr.Interface(
|
| 282 |
-
fn=gradio_generate,
|
| 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],
|
|
@@ -291,7 +291,7 @@ gr_interface = gr.Interface(
|
|
| 291 |
["This is a live performance of a classical music piece. There is an orchestra performing the piece with a violin lead playing the main melody. The atmosphere is sentimental and heart-touching. This piece could be playing in the background at a classy restaurant. The chord progression in this song is Am7, Gm, Dm, A7, Dm. The beat is 3. This song is in Largo. The key of this song is D minor.", 200, 3],
|
| 292 |
["This is a techno piece with drums and beats and a leading melody. A synth plays chords. The music kicks off with a powerful and relentless drumbeat. Over the pounding beats, a leading melody emerges. In the middle of the song, a flock of seagulls flies over the venue and make loud bird sounds. It has strong danceability and can be played in a club. The tempo is 120 bpm. The chords played by the synth are Am, Cm, Dm, Gm.", 200, 3],
|
| 293 |
],
|
| 294 |
-
cache_examples=
|
| 295 |
)
|
| 296 |
|
| 297 |
with gr.Blocks(css=css) as demo:
|
|
|
|
| 279 |
|
| 280 |
# Gradio interface
|
| 281 |
gr_interface = gr.Interface(
|
| 282 |
+
#fn=gradio_generate,
|
| 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],
|
|
|
|
| 291 |
["This is a live performance of a classical music piece. There is an orchestra performing the piece with a violin lead playing the main melody. The atmosphere is sentimental and heart-touching. This piece could be playing in the background at a classy restaurant. The chord progression in this song is Am7, Gm, Dm, A7, Dm. The beat is 3. This song is in Largo. The key of this song is D minor.", 200, 3],
|
| 292 |
["This is a techno piece with drums and beats and a leading melody. A synth plays chords. The music kicks off with a powerful and relentless drumbeat. Over the pounding beats, a leading melody emerges. In the middle of the song, a flock of seagulls flies over the venue and make loud bird sounds. It has strong danceability and can be played in a club. The tempo is 120 bpm. The chords played by the synth are Am, Cm, Dm, Gm.", 200, 3],
|
| 293 |
],
|
| 294 |
+
cache_examples=False,
|
| 295 |
)
|
| 296 |
|
| 297 |
with gr.Blocks(css=css) as demo:
|