Spaces:
Running
on
Zero
Running
on
Zero
Only the call to GPU
Browse files
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()
|