asigalov61 commited on
Commit
b5a3cae
·
verified ·
1 Parent(s): 3b8a3fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -180,10 +180,13 @@ def save_midi(tokens, batch_number=None):
180
 
181
  # Generate a time stamp using the PDT timezone.
182
  timestamp = datetime.datetime.now(PDT).strftime("%Y%m%d_%H%M%S")
183
- if batch_number is None:
 
184
  fname = f"Godzilla-Piano-Transformer-Music-Composition_{timestamp}"
185
  else:
186
- fname = f"Godzilla-Piano-Transformer-Music-Composition_{timestamp}_Batch_{batch_number}"
 
 
187
 
188
  TMIDIX.Tegridy_ms_SONG_to_MIDI_Converter(
189
  song_events,
 
180
 
181
  # Generate a time stamp using the PDT timezone.
182
  timestamp = datetime.datetime.now(PDT).strftime("%Y%m%d_%H%M%S")
183
+
184
+ '''if batch_number is None:
185
  fname = f"Godzilla-Piano-Transformer-Music-Composition_{timestamp}"
186
  else:
187
+ fname = f"Godzilla-Piano-Transformer-Music-Composition_{timestamp}_Batch_{batch_number}"'''
188
+
189
+ fname = f"Godzilla-Piano-Transformer-Music-Composition"
190
 
191
  TMIDIX.Tegridy_ms_SONG_to_MIDI_Converter(
192
  song_events,