Spaces:
Running
Running
younes21000
commited on
Commit
•
24ac137
1
Parent(s):
41e9833
Update README.md
Browse files
README.md
CHANGED
@@ -10,49 +10,45 @@ pinned: false
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
-
|
14 |
-
|
15 |
-
This
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
- Hindi (hi)
|
50 |
-
- Japanese (ja)
|
51 |
-
- Korean (ko)
|
52 |
-
- Russian (ru)
|
53 |
|
54 |
## Notes
|
55 |
|
56 |
- Maximum video size: 1GB
|
57 |
- Processing time depends on video length and selected options
|
58 |
-
- Internet connection required for
|
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
+
Video Subtitle Generator with Translation & Multi-Format Output
|
14 |
+
|
15 |
+
This project provides a tool to generate subtitles from video files using OpenAI's Whisper model
|
16 |
+
for transcription. It also supports translation into multiple languages using the M2M100 translation
|
17 |
+
model from Hugging Face. The subtitles can be exported in various formats, including SRT files, hardsubbed video,
|
18 |
+
Word documents, PDF files, or PowerPoint slides.
|
19 |
+
|
20 |
+
Features:
|
21 |
+
|
22 |
+
Automatic Transcription: Transcribe audio from video files into text using
|
23 |
+
Whisper models (Tiny, Base, Small, Medium, Large).
|
24 |
+
|
25 |
+
Multi-Language Translation: Translate the generated subtitles into different languages such as Persian, Spanish,
|
26 |
+
French, German, Italian and Portuguese using M2M100.
|
27 |
+
|
28 |
+
Multi-Format Export: Export subtitles in the following formats:
|
29 |
+
SRT (Subtitle file format)
|
30 |
+
Video with embedded subtitles (hardsub)
|
31 |
+
Word document (.docx)
|
32 |
+
PDF file
|
33 |
+
PowerPoint presentation (.pptx)
|
34 |
+
|
35 |
+
Right-to-Left Language Support: Proper handling of RTL languages like
|
36 |
+
Persian and Arabic in both Word and PDF formats.
|
37 |
+
|
38 |
+
Usage
|
39 |
+
You can use this tool through a Gradio interface to upload a video,
|
40 |
+
select the language of the video, choose the target translation language,
|
41 |
+
and export the subtitles in your desired format.
|
42 |
+
|
43 |
+
Supported Whisper Models
|
44 |
+
Tiny (Fast, Less Accurate)
|
45 |
+
Base (Medium Speed, Medium Accuracy)
|
46 |
+
Small (Good Speed, Good Accuracy)
|
47 |
+
Medium (Slow, High Accuracy)
|
48 |
+
Large (Very Slow, Highest Accuracy)
|
|
|
|
|
|
|
|
|
49 |
|
50 |
## Notes
|
51 |
|
52 |
- Maximum video size: 1GB
|
53 |
- Processing time depends on video length and selected options
|
54 |
+
- Internet connection required for translations
|