Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -517,11 +517,11 @@ def get_model_options(pipeline_type):
|
|
517 |
list: A list of model IDs.
|
518 |
"""
|
519 |
if pipeline_type == "faster-batched":
|
520 |
-
return ["cstr/whisper-large-v3-turbo-int8_float32", "SYSTRAN/faster-whisper-large-v1", "GalaktischeGurke/primeline-whisper-large-v3-german-ct2"]
|
521 |
elif pipeline_type == "faster-sequenced":
|
522 |
-
return ["SYSTRAN/faster-whisper-large-v1", "GalaktischeGurke/primeline-whisper-large-v3-german-ct2"]
|
523 |
elif pipeline_type == "transformers":
|
524 |
-
return ["openai/whisper-large-v3", "openai/whisper-large-v2", "openai/whisper-medium", "openai/whisper-small"]
|
525 |
else:
|
526 |
return []
|
527 |
|
|
|
517 |
list: A list of model IDs.
|
518 |
"""
|
519 |
if pipeline_type == "faster-batched":
|
520 |
+
return ["primeline/whisper-large-v3-turbo-german","cstr/whisper-large-v3-turbo-int8_float32", "SYSTRAN/faster-whisper-large-v1", "GalaktischeGurke/primeline-whisper-large-v3-german-ct2"]
|
521 |
elif pipeline_type == "faster-sequenced":
|
522 |
+
return ["primeline/whisper-large-v3-turbo-german","SYSTRAN/faster-whisper-large-v1", "GalaktischeGurke/primeline-whisper-large-v3-german-ct2"]
|
523 |
elif pipeline_type == "transformers":
|
524 |
+
return ["primeline/whisper-large-v3-turbo-german","openai/whisper-large-v3", "openai/whisper-large-v2", "openai/whisper-medium", "openai/whisper-small"]
|
525 |
else:
|
526 |
return []
|
527 |
|