File size: 1,189 Bytes
952467c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
video-translator/
β”œβ”€β”€ .gitignore
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ app.py                    # Main Gradio app entry point
β”œβ”€β”€ config.py                 # Configuration and constants
β”œβ”€β”€ .env.example              # Example environment variables
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ audio/
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”œβ”€β”€ extractor.py      # Audio extraction from video
β”‚   β”‚   └── generator.py      # TTS generation
β”‚   β”œβ”€β”€ video/
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   └── processor.py      # Video processing functions
β”‚   β”œβ”€β”€ subtitles/
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”œβ”€β”€ transcriber.py    # Subtitle generation
β”‚   β”‚   └── translator.py     # Subtitle translation
β”‚   └── utils/
β”‚       β”œβ”€β”€ __init__.py
β”‚       └── logger.py         # Logging configuration
β”œβ”€β”€ tests/
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ test_audio.py
β”‚   β”œβ”€β”€ test_subtitles.py
β”‚   └── test_video.py
└── outputs/                  # Output directory (generated)
    └── .gitkeep