Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ if not os.path.exists(works_path):
|
|
15 |
os.makedirs(works_path)
|
16 |
print('作品目录:' + works_path)
|
17 |
|
18 |
-
modelname = "
|
19 |
model = whisper.load_model(modelname) #tiny、base、small、medium(可用)、large
|
20 |
|
21 |
def transcript(audiofile, prompt, output_dir):
|
|
|
15 |
os.makedirs(works_path)
|
16 |
print('作品目录:' + works_path)
|
17 |
|
18 |
+
modelname = "medium"
|
19 |
model = whisper.load_model(modelname) #tiny、base、small、medium(可用)、large
|
20 |
|
21 |
def transcript(audiofile, prompt, output_dir):
|