Maaz1 commited on
Commit
2f42eba
Β·
1 Parent(s): b982edb
README.md CHANGED
@@ -8,6 +8,7 @@ pinned: true
8
  short_description: 'A Multilingual Audio and Video dubbing tool '
9
  sdk_version: 5.25.0
10
  ---
 
11
  # Video Translator 🌐
12
 
13
  A complete video translation system that converts videos into multiple languages by translating both subtitles and audio.
 
8
  short_description: 'A Multilingual Audio and Video dubbing tool '
9
  sdk_version: 5.25.0
10
  ---
11
+
12
  # Video Translator 🌐
13
 
14
  A complete video translation system that converts videos into multiple languages by translating both subtitles and audio.
__pycache__/config.cpython-311.pyc CHANGED
Binary files a/__pycache__/config.cpython-311.pyc and b/__pycache__/config.cpython-311.pyc differ
 
outputs/logs/app_2025-04-09.log DELETED
File without changes
outputs/logs/error_2025-04-09.log DELETED
File without changes
requirements.txt CHANGED
@@ -1,6 +1,6 @@
1
 
2
  # Core dependencies
3
- gradio==3.50.2
4
  python-dotenv==1.0.0
5
  tqdm==4.66.1
6
 
 
1
 
2
  # Core dependencies
3
+ gradio>=4.0.0
4
  python-dotenv==1.0.0
5
  tqdm==4.66.1
6
 
src/audio/__pycache__/extractor.cpython-311.pyc CHANGED
Binary files a/src/audio/__pycache__/extractor.cpython-311.pyc and b/src/audio/__pycache__/extractor.cpython-311.pyc differ
 
src/audio/__pycache__/generator.cpython-311.pyc CHANGED
Binary files a/src/audio/__pycache__/generator.cpython-311.pyc and b/src/audio/__pycache__/generator.cpython-311.pyc differ
 
src/audio/generator.py CHANGED
@@ -144,6 +144,8 @@ def generate_translated_audio(srt_path, target_lang, video_duration=180):
144
  cmd.extend(['-i', str(audio_file)])
145
 
146
  # Add filter complex and output
 
 
147
  output_audio = OUTPUT_DIR / f"translated_audio_{target_lang}.wav"
148
  cmd.extend([
149
  '-filter_complex', filter_complex,
 
144
  cmd.extend(['-i', str(audio_file)])
145
 
146
  # Add filter complex and output
147
+ output_audio = OUTPUT_DIR / f"translated_audio_{target_lang}.mp3"
148
+
149
  output_audio = OUTPUT_DIR / f"translated_audio_{target_lang}.wav"
150
  cmd.extend([
151
  '-filter_complex', filter_complex,
src/subtitles/__pycache__/transcriber.cpython-311.pyc CHANGED
Binary files a/src/subtitles/__pycache__/transcriber.cpython-311.pyc and b/src/subtitles/__pycache__/transcriber.cpython-311.pyc differ
 
src/subtitles/__pycache__/translator.cpython-311.pyc CHANGED
Binary files a/src/subtitles/__pycache__/translator.cpython-311.pyc and b/src/subtitles/__pycache__/translator.cpython-311.pyc differ
 
src/utils/__pycache__/logger.cpython-311.pyc CHANGED
Binary files a/src/utils/__pycache__/logger.cpython-311.pyc and b/src/utils/__pycache__/logger.cpython-311.pyc differ
 
src/video/__pycache__/processor.cpython-311.pyc CHANGED
Binary files a/src/video/__pycache__/processor.cpython-311.pyc and b/src/video/__pycache__/processor.cpython-311.pyc differ