Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,7 @@ MODEL_NAME = "large-v3"
|
|
15 |
YT_LENGTH_LIMIT_S = 3600 # 1 hour YouTube files
|
16 |
|
17 |
# 加载WhisperX模型
|
|
|
18 |
model = whisperx.load_model(MODEL_NAME, device=device, compute_type=compute_type)
|
19 |
|
20 |
@spaces.GPU
|
|
|
15 |
YT_LENGTH_LIMIT_S = 3600 # 1 hour YouTube files
|
16 |
|
17 |
# 加载WhisperX模型
|
18 |
+
@spaces.GPU
|
19 |
model = whisperx.load_model(MODEL_NAME, device=device, compute_type=compute_type)
|
20 |
|
21 |
@spaces.GPU
|