dx2102 commited on
Commit
bb5b5d8
·
verified ·
1 Parent(s): 71161a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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"], ["Boogie Woogie"], ["Bossa Nova"], ["8 bit"], ["Guitar"], [example_prefix]],
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=1000,
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:')