1inkusFace commited on
Commit
697c2c5
·
verified ·
1 Parent(s): 710929b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def load_model():
42
  print("Model loaded successfully.")
43
  return model, model_config
44
 
45
- model, model_config = load_model()
46
 
47
  # Function to set up, generate, and process the audio
48
  @spaces.GPU(duration=60) # Allocate GPU only when this function is called
 
42
  print("Model loaded successfully.")
43
  return model, model_config
44
 
45
+ global model, model_config = load_model()
46
 
47
  # Function to set up, generate, and process the audio
48
  @spaces.GPU(duration=60) # Allocate GPU only when this function is called