Spaces:
Running
on
Zero
Running
on
Zero
alex
commited on
Commit
Β·
a69b7d4
1
Parent(s):
652a642
description fixed
Browse files
app.py
CHANGED
|
@@ -1014,6 +1014,9 @@ with gr.Blocks(css=css) as demo:
|
|
| 1014 |
<img src="https://img.shields.io/badge/π€-Follow Me-yellow.svg">
|
| 1015 |
</a>
|
| 1016 |
<a href="https://www.buymeacoffee.com/outofai" style="display: inline-block; vertical-align: middle; margin-left: 0.5em;" target="_blank"><img src="https://img.shields.io/badge/-buy_me_a%C2%A0coffee-red?logo=buy-me-a-coffee" alt="Buy Me A Coffee"></a>
|
|
|
|
|
|
|
|
|
|
| 1017 |
</div>
|
| 1018 |
"""
|
| 1019 |
)
|
|
@@ -1040,11 +1043,16 @@ with gr.Blocks(css=css) as demo:
|
|
| 1040 |
|
| 1041 |
video_output = gr.Video(label="Output", height=512)
|
| 1042 |
lipsync = gr.Checkbox(label="Lipsync", value=False, visible=False)
|
| 1043 |
-
duration = gr.Slider(5, 30, 30, step=1)
|
| 1044 |
translate_btn = gr.Button("π€ΉββοΈ Translate")
|
| 1045 |
translate_lipsync_btn = gr.Button("π€ΉββοΈ Translate + π Lipsync", variant='primary', elem_classes="button-gradient")
|
| 1046 |
|
| 1047 |
with gr.Column(elem_id="step-column"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1048 |
vocal_16k_output = gr.File(label="Vocal 16k", visible=False)
|
| 1049 |
srt_output = gr.File(label="Download translated diarized SRT", visible=False)
|
| 1050 |
|
|
@@ -1062,13 +1070,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 1062 |
True,
|
| 1063 |
10
|
| 1064 |
],
|
| 1065 |
-
|
| 1066 |
-
[
|
| 1067 |
-
"assets/japanese.mp4",
|
| 1068 |
-
True,
|
| 1069 |
-
10
|
| 1070 |
-
],
|
| 1071 |
-
|
| 1072 |
[
|
| 1073 |
"assets/german.mp4",
|
| 1074 |
True,
|
|
|
|
| 1014 |
<img src="https://img.shields.io/badge/π€-Follow Me-yellow.svg">
|
| 1015 |
</a>
|
| 1016 |
<a href="https://www.buymeacoffee.com/outofai" style="display: inline-block; vertical-align: middle; margin-left: 0.5em;" target="_blank"><img src="https://img.shields.io/badge/-buy_me_a%C2%A0coffee-red?logo=buy-me-a-coffee" alt="Buy Me A Coffee"></a>
|
| 1017 |
+
<p style="font-size:16px; display: inline; margin: 0;">
|
| 1018 |
+
Translate and lipsync your clips to English
|
| 1019 |
+
</p>
|
| 1020 |
</div>
|
| 1021 |
"""
|
| 1022 |
)
|
|
|
|
| 1043 |
|
| 1044 |
video_output = gr.Video(label="Output", height=512)
|
| 1045 |
lipsync = gr.Checkbox(label="Lipsync", value=False, visible=False)
|
| 1046 |
+
duration = gr.Slider(5, 30, 30, step=1, label="Duration(s)")
|
| 1047 |
translate_btn = gr.Button("π€ΉββοΈ Translate")
|
| 1048 |
translate_lipsync_btn = gr.Button("π€ΉββοΈ Translate + π Lipsync", variant='primary', elem_classes="button-gradient")
|
| 1049 |
|
| 1050 |
with gr.Column(elem_id="step-column"):
|
| 1051 |
+
gr.HTML("""
|
| 1052 |
+
<div>
|
| 1053 |
+
<span style="font-size: 24px;">Lipsynced Examples </span><br>
|
| 1054 |
+
</div>
|
| 1055 |
+
""")
|
| 1056 |
vocal_16k_output = gr.File(label="Vocal 16k", visible=False)
|
| 1057 |
srt_output = gr.File(label="Download translated diarized SRT", visible=False)
|
| 1058 |
|
|
|
|
| 1070 |
True,
|
| 1071 |
10
|
| 1072 |
],
|
| 1073 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1074 |
[
|
| 1075 |
"assets/german.mp4",
|
| 1076 |
True,
|