Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
import spaces
|
2 |
import random
|
3 |
import argparse
|
4 |
import glob
|
@@ -136,7 +136,7 @@ def get_duration(model_name, tab, mid_seq, continuation_state, continuation_sele
|
|
136 |
return t + 5
|
137 |
|
138 |
|
139 |
-
@spaces.GPU(duration=get_duration)
|
140 |
def run(model_name, tab, mid_seq, continuation_state, continuation_select, instruments, drum_kit, bpm, time_sig,
|
141 |
key_sig, mid, midi_events, reduce_cc_st, remap_track_channel, add_default_instr, remove_empty_channels,
|
142 |
seed, seed_rand, gen_events, temp, top_p, top_k, allow_cc):
|
|
|
1 |
+
# import spaces
|
2 |
import random
|
3 |
import argparse
|
4 |
import glob
|
|
|
136 |
return t + 5
|
137 |
|
138 |
|
139 |
+
# @spaces.GPU(duration=get_duration)
|
140 |
def run(model_name, tab, mid_seq, continuation_state, continuation_select, instruments, drum_kit, bpm, time_sig,
|
141 |
key_sig, mid, midi_events, reduce_cc_st, remap_track_channel, add_default_instr, remove_empty_channels,
|
142 |
seed, seed_rand, gen_events, temp, top_p, top_k, allow_cc):
|