Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Commit
•
930090d
1
Parent(s):
8586ed2
Update app.py
Browse files
app.py
CHANGED
@@ -405,16 +405,21 @@ def generate_callback_wrapper(input_midi,
|
|
405 |
):
|
406 |
|
407 |
print('=' * 70)
|
|
|
|
|
408 |
|
|
|
409 |
if input_midi is not None:
|
410 |
fn = os.path.basename(input_midi.name)
|
411 |
fn1 = fn.split('.')[0]
|
412 |
print('Input file name:', fn)
|
413 |
-
|
414 |
print('Num prime tokens:', num_prime_tokens)
|
415 |
print('Num gen tokens:', num_gen_tokens)
|
416 |
-
print('
|
417 |
print('Gen drums:', gen_drums)
|
|
|
|
|
418 |
print('Model temp:', model_temperature)
|
419 |
print('Model top_p:', model_sampling_top_p)
|
420 |
print('=' * 70)
|
|
|
405 |
):
|
406 |
|
407 |
print('=' * 70)
|
408 |
+
print('Req start time: {:%Y-%m-%d %H:%M:%S}'.format(datetime.datetime.now(PDT)))
|
409 |
+
start_time = reqtime.time()
|
410 |
|
411 |
+
print('=' * 70)
|
412 |
if input_midi is not None:
|
413 |
fn = os.path.basename(input_midi.name)
|
414 |
fn1 = fn.split('.')[0]
|
415 |
print('Input file name:', fn)
|
416 |
+
|
417 |
print('Num prime tokens:', num_prime_tokens)
|
418 |
print('Num gen tokens:', num_gen_tokens)
|
419 |
+
print('Num mem tokens:', num_mem_tokens)
|
420 |
print('Gen drums:', gen_drums)
|
421 |
+
print('Gen outro:', gen_outro)
|
422 |
+
|
423 |
print('Model temp:', model_temperature)
|
424 |
print('Model top_p:', model_sampling_top_p)
|
425 |
print('=' * 70)
|