yhzx233 commited on
Commit
0c5ec97
·
verified ·
1 Parent(s): 7baeb78

fix: add duration limit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ def initialize_model():
150
  # Initialize model when starting the application
151
  initialize_model()
152
 
153
- @spaces.GPU
154
  def process_single_audio_generation(
155
  text_input: str,
156
  audio_mode: str,
 
150
  # Initialize model when starting the application
151
  initialize_model()
152
 
153
+ @spaces.GPU(duration=120)
154
  def process_single_audio_generation(
155
  text_input: str,
156
  audio_mode: str,