Spaces:
Sleeping
Sleeping
StevenChen16
commited on
Commit
•
e32eb72
1
Parent(s):
a923bed
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ YT_LENGTH_LIMIT_S = 3600 # 1 hour YouTube files
|
|
18 |
# @spaces.GPU
|
19 |
# def load_whisperx_model():
|
20 |
# # 加载 WhisperX 模型
|
21 |
-
return whisperx.load_model(MODEL_NAME, device=device, compute_type=compute_type)
|
22 |
|
23 |
# model = load_whisperx_model()
|
24 |
|
|
|
18 |
# @spaces.GPU
|
19 |
# def load_whisperx_model():
|
20 |
# # 加载 WhisperX 模型
|
21 |
+
# return whisperx.load_model(MODEL_NAME, device=device, compute_type=compute_type)
|
22 |
|
23 |
# model = load_whisperx_model()
|
24 |
|