Titouan commited on
Commit
d2e4f4f
·
verified ·
1 Parent(s): d69f6aa

Only the call to GPU

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ def load_model_if_needed():
92
 
93
  return MODEL
94
 
95
-
96
  def prompt_lm(audios: list[str], messages: list[dict[str, str]]):
97
  # Always try to load the model if needed
98
  model = load_model_if_needed()
 
92
 
93
  return MODEL
94
 
95
+ @spaces.GPU
96
  def prompt_lm(audios: list[str], messages: list[dict[str, str]]):
97
  # Always try to load the model if needed
98
  model = load_model_if_needed()