Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Commit
•
47ce9e4
1
Parent(s):
77b1713
Update app.py
Browse files
app.py
CHANGED
@@ -223,7 +223,7 @@ def Generate_Rock_Song(input_midi,
|
|
223 |
|
224 |
#==================================================================
|
225 |
|
226 |
-
def generate_tokens(seq, max_num_ptcs=
|
227 |
|
228 |
input = copy.deepcopy(seq)
|
229 |
|
|
|
223 |
|
224 |
#==================================================================
|
225 |
|
226 |
+
def generate_tokens(seq, max_num_ptcs=5, max_tries=10):
|
227 |
|
228 |
input = copy.deepcopy(seq)
|
229 |
|