yl4579 commited on
Commit
267f1ac
·
verified ·
1 Parent(s): db23689

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -70,6 +70,7 @@ def initialize_model():
70
  # Initialize model on startup
71
  model_loaded, status_message = initialize_model()
72
 
 
73
  def generate_speech(
74
  prompt_audio,
75
  prompt_text,
 
70
  # Initialize model on startup
71
  model_loaded, status_message = initialize_model()
72
 
73
+ @spaces.GPU # ZeroGPU allocates a slice only while this runs
74
  def generate_speech(
75
  prompt_audio,
76
  prompt_text,