Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ with gr.Blocks() as demo:
|
|
104 |
midi_box = gr.File()
|
105 |
piano_roll_box = gr.Image()
|
106 |
example_box = gr.Examples(
|
107 |
-
[["Chopin"], ["Bach"], ["Beethoven"], ["Debussy"], ["Nocturne"], ["Clair De Lune"], ["
|
108 |
inputs=prefix_box,
|
109 |
)
|
110 |
|
@@ -130,7 +130,7 @@ with gr.Blocks() as demo:
|
|
130 |
result = pipe(
|
131 |
prefix,
|
132 |
streamer=MyStreamer(),
|
133 |
-
max_length=
|
134 |
temperature=0.95,
|
135 |
)
|
136 |
print('Generated text:')
|
|
|
104 |
midi_box = gr.File()
|
105 |
piano_roll_box = gr.Image()
|
106 |
example_box = gr.Examples(
|
107 |
+
[["Chopin"], ["Bach"], ["Beethoven"], ["Debussy"], ["Nocturne"], ["Clair De Lune"], ["Guitar"], ["Boogie Woogie"], [example_prefix]],
|
108 |
inputs=prefix_box,
|
109 |
)
|
110 |
|
|
|
130 |
result = pipe(
|
131 |
prefix,
|
132 |
streamer=MyStreamer(),
|
133 |
+
max_length=7000,
|
134 |
temperature=0.95,
|
135 |
)
|
136 |
print('Generated text:')
|