refac: openai already supports webm audio
This commit is contained in:
@@ -86,8 +86,7 @@ def get_audio_format(file_path):
|
|||||||
return "mp4"
|
return "mp4"
|
||||||
elif info.get("format_name") == "ogg":
|
elif info.get("format_name") == "ogg":
|
||||||
return "ogg"
|
return "ogg"
|
||||||
elif info.get("format_name") == "matroska,webm":
|
|
||||||
return "webm"
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user