Commit ·
3c50cc6
1
Parent(s): f9baf11
fix moviepy install + add faster whisper original turbo model
Browse files- app.py +2 -2
- requirements.txt +0 -0
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def main():
|
|
| 13 |
max_words_per_line = gr.Number(value=6, label="Max words per line")
|
| 14 |
task = gr.Radio(choices=["transcribe", "translate"], value="transcribe", label="Select Task")
|
| 15 |
model_version = gr.Radio(choices=["deepdml/faster-whisper-large-v3-turbo-ct2",
|
| 16 |
-
"
|
| 17 |
"large-v3"], value="deepdml/faster-whisper-large-v3-turbo-ct2", label="Select Model")
|
| 18 |
text_output = gr.Textbox(label="SRT Text transcription")
|
| 19 |
srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
|
|
@@ -30,7 +30,7 @@ def main():
|
|
| 30 |
max_words_per_line = gr.Number(value=6, label="Max words per line")
|
| 31 |
task = gr.Radio(choices=["transcribe", "translate"], value="transcribe", label="Select Task")
|
| 32 |
model_version = gr.Radio(choices=["deepdml/faster-whisper-large-v3-turbo-ct2",
|
| 33 |
-
"
|
| 34 |
"large-v3"], value="deepdml/faster-whisper-large-v3-turbo-ct2", label="Select Model")
|
| 35 |
text_output = gr.Textbox(label="SRT Text transcription")
|
| 36 |
srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
|
|
|
|
| 13 |
max_words_per_line = gr.Number(value=6, label="Max words per line")
|
| 14 |
task = gr.Radio(choices=["transcribe", "translate"], value="transcribe", label="Select Task")
|
| 15 |
model_version = gr.Radio(choices=["deepdml/faster-whisper-large-v3-turbo-ct2",
|
| 16 |
+
"turbo",
|
| 17 |
"large-v3"], value="deepdml/faster-whisper-large-v3-turbo-ct2", label="Select Model")
|
| 18 |
text_output = gr.Textbox(label="SRT Text transcription")
|
| 19 |
srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
|
|
|
|
| 30 |
max_words_per_line = gr.Number(value=6, label="Max words per line")
|
| 31 |
task = gr.Radio(choices=["transcribe", "translate"], value="transcribe", label="Select Task")
|
| 32 |
model_version = gr.Radio(choices=["deepdml/faster-whisper-large-v3-turbo-ct2",
|
| 33 |
+
"turbo",
|
| 34 |
"large-v3"], value="deepdml/faster-whisper-large-v3-turbo-ct2", label="Select Model")
|
| 35 |
text_output = gr.Textbox(label="SRT Text transcription")
|
| 36 |
srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
|
requirements.txt
CHANGED
|
Binary files a/requirements.txt and b/requirements.txt differ
|
|
|