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 ["
|
| 521 |
elif pipeline_type == "faster-sequenced":
|
| 522 |
-
return ["
|
| 523 |
elif pipeline_type == "transformers":
|
| 524 |
-
return ["
|
| 525 |
else:
|
| 526 |
return []
|
| 527 |
|
|
|
|
| 517 |
list: A list of model IDs.
|
| 518 |
"""
|
| 519 |
if pipeline_type == "faster-batched":
|
| 520 |
+
return ["cstr/whisper-large-v3-turbo-german-int8_float32","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 ["cstr/whisper-large-v3-turbo-german-int8_float32","SYSTRAN/faster-whisper-large-v1", "GalaktischeGurke/primeline-whisper-large-v3-german-ct2"]
|
| 523 |
elif pipeline_type == "transformers":
|
| 524 |
+
return ["cstr/whisper-large-v3-turbo-german-int8_float32","openai/whisper-large-v3", "openai/whisper-large-v2", "openai/whisper-medium", "openai/whisper-small"]
|
| 525 |
else:
|
| 526 |
return []
|
| 527 |
|