Viven763 commited on
Commit
c0fdfb4
1 Parent(s): ccf64a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -11
app.py CHANGED
@@ -173,28 +173,24 @@ iface = gr.Interface(
173
  video,
174
  gr.Dropdown(choices=["English", "Spanish", "French", "German", "Italian", "Portuguese", "Polish", "Turkish", "Russian", "Dutch", "Czech", "Arabic", "Chinese (Simplified)"], label="Target Language for Dubbing", value="Spanish"),
175
  gr.Checkbox(
176
- label="Video has a close-up face. Use Wav2lip.",
177
  value=False,
178
- info="Say if video have close-up face. For Wav2lip. Will not work if checked wrongly.")
179
  ],
180
  outputs=gr.Video(),
181
  live=False,
182
  title="AI Video Dubbing",
183
- description="""This tool was developed by [@artificialguybr](https://twitter.com/artificialguybr) using entirely open-source tools. Special thanks to Hugging Face for the GPU support. Thanks [@yeswondwer](https://twitter.com/@yeswondwerr) for original code. Test the [Video Transcription and Translate](https://huggingface.co/spaces/artificialguybr/VIDEO-TRANSLATION-TRANSCRIPTION) space!""",
184
  allow_flagging=False
185
  )
186
  with gr.Blocks() as demo:
187
  iface.render()
188
  radio.change(swap, inputs=[radio], outputs=video)
189
  gr.Markdown("""
190
- **Note:**
191
- - Video limit is 1 minute. It will dubbling all people using just one voice.
192
- - Generation may take up to 5 minutes.
193
- - By using this demo you agree to the terms of the Coqui Public Model License at https://coqui.ai/cpml
194
- - The tool uses open-source models for all models. It's a alpha version.
195
- - Quality can be improved but would require more processing time per video. For scalability and hardware limitations, speed was chosen, not just quality.
196
- - If you need more than 1 minute, duplicate the Space and change the limit on app.py.
197
- - If you incorrectly mark the 'Video has a close-up face' checkbox, the dubbing may not work as expected.
198
  """)
199
  demo.queue(concurrency_count=1, max_size=15)
200
  demo.launch()
 
173
  video,
174
  gr.Dropdown(choices=["English", "Spanish", "French", "German", "Italian", "Portuguese", "Polish", "Turkish", "Russian", "Dutch", "Czech", "Arabic", "Chinese (Simplified)"], label="Target Language for Dubbing", value="Spanish"),
175
  gr.Checkbox(
176
+ label="Видео явно имеет крупный план лица. Используйте Wav2lip.",
177
  value=False,
178
+ info="Видео явно имеет крупный план лица. Используйте Wav2lip.")
179
  ],
180
  outputs=gr.Video(),
181
  live=False,
182
  title="AI Video Dubbing",
183
+ description="""Данный инструмент разработан для @work_control""",
184
  allow_flagging=False
185
  )
186
  with gr.Blocks() as demo:
187
  iface.render()
188
  radio.change(swap, inputs=[radio], outputs=video)
189
  gr.Markdown("""
190
+ **Примечание:**
191
+ - Ограничение на видео составляет 1 минуту. Оно будет озвучивать всех людей, используя только один голос.
192
+ - Создание может занять до 5 минут.
193
+ - Если вы неправильно отметите флажок "Видео с крупным планом лица", озвучивание может не работать ожидаемым образом.
 
 
 
 
194
  """)
195
  demo.queue(concurrency_count=1, max_size=15)
196
  demo.launch()