KingNish commited on
Commit
453b42e
·
verified ·
1 Parent(s): e511f97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -162,7 +162,7 @@ def generate_music(
162
  # Decoding config
163
  top_p = 0.93
164
  temperature = 1.0
165
- repetition_penalty = 1.1
166
  start_of_segment = mmtokenizer.tokenize('[start_of_segment]')
167
  end_of_segment = mmtokenizer.tokenize('[end_of_segment]')
168
 
@@ -367,7 +367,7 @@ with gr.Blocks() as demo:
367
  Woke up in the morning, sun is shining bright
368
  Chasing all my dreams, gotta get my mind right
369
  City lights are fading, but my vision's clear
370
- Got my team beside me, no room for fear
371
 
372
  [chorus]
373
  Walking through the streets, beats inside my head
 
162
  # Decoding config
163
  top_p = 0.93
164
  temperature = 1.0
165
+ repetition_penalty = 1.2
166
  start_of_segment = mmtokenizer.tokenize('[start_of_segment]')
167
  end_of_segment = mmtokenizer.tokenize('[end_of_segment]')
168
 
 
367
  Woke up in the morning, sun is shining bright
368
  Chasing all my dreams, gotta get my mind right
369
  City lights are fading, but my vision's clear
370
+ Got my team beside me, no room for fear.
371
 
372
  [chorus]
373
  Walking through the streets, beats inside my head