Add protobuf and opencv-python to requirements.txt
Browse files- app.py +2 -1
- requirements.txt +4 -4
app.py
CHANGED
@@ -441,7 +441,8 @@ import argparse
|
|
441 |
def subtify():
|
442 |
with gr.Blocks() as demo:
|
443 |
# Layout
|
444 |
-
gr.Markdown("""#
|
|
|
445 |
# with gr.Row(variant="panel"):
|
446 |
# url_textbox = gr.Textbox(placeholder="Add video URL here", label="Video URL", elem_id="video_url", scale=1, interactive=True)
|
447 |
# copy_button = gr.Button(size="sm", icon="icons/copy.svg", value="", min_width="10px", scale=0)
|
|
|
441 |
def subtify():
|
442 |
with gr.Blocks() as demo:
|
443 |
# Layout
|
444 |
+
gr.Markdown("""# Subtify""")
|
445 |
+
gr.Markdown("""# Subtify""")
|
446 |
# with gr.Row(variant="panel"):
|
447 |
# url_textbox = gr.Textbox(placeholder="Add video URL here", label="Video URL", elem_id="video_url", scale=1, interactive=True)
|
448 |
# copy_button = gr.Button(size="sm", icon="icons/copy.svg", value="", min_width="10px", scale=0)
|
requirements.txt
CHANGED
@@ -20,8 +20,8 @@ twitch-dl
|
|
20 |
git+https://github.com/m-bain/whisperx.git
|
21 |
pyannote.audio
|
22 |
|
23 |
-
#
|
24 |
-
|
25 |
|
26 |
-
#
|
27 |
-
|
|
|
20 |
git+https://github.com/m-bain/whisperx.git
|
21 |
pyannote.audio
|
22 |
|
23 |
+
# Translate
|
24 |
+
protobuf
|
25 |
|
26 |
+
# Add subtitles to videos
|
27 |
+
opencv-python
|