Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yogendra-singh-rathore authored Jun 28, 2024
1 parent 6ea40a1 commit 6d9ed4e
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ This project automates the generation and translation of SRT (SubRip Subtitle) f
- Assembly AI API key
- Required Python packages (can be installed via `requirements.txt`)

## Installation
## Installation Python File
#### File Structure

- `srtAi.py`: Script to generate SRT files in Hindi using Assembly AI.
- `translate.py`: Script to translate Hindi SRT files into English and other languages.
- `srt_mp3.py`: Script to compile translated SRT files into MP3 and generate MP4 for timeline verification.

1. Clone the repository:

```bash
Expand All @@ -44,10 +49,10 @@ This project automates the generation and translation of SRT (SubRip Subtitle) f
pip install -r requirements.txt
```

3. Set up your Assembly AI API key:
3. Set up your Assembly AI API key in the main.py:

```bash
export ASSEMBLYAI_API_KEY='your_api_key_here'
aai.settings.api_key = "API KEY"
```

## Usage
Expand Down Expand Up @@ -89,23 +94,22 @@ This project automates the generation and translation of SRT (SubRip Subtitle) f
```bash
python srt_mp3.py
```
### ==> We Have Web Application


## Install Flask Web Application (GUI)
![Editor Image](image/Editor.png)

![SRT Generator Image](image/SRT_GEn.png)

![Home Image](image/home.png)
1. **Our Flask-based Web App:**
Add "Assembly AI API KEY" in 'main.py'
1. **Run App: Easy To Use**
```bash
python main.py
```

## File Structure

- `srtAi.py`: Script to generate SRT files in Hindi using Assembly AI.
- `translate.py`: Script to translate Hindi SRT files into English and other languages.
- `srt_mp3.py`: Script to compile translated SRT files into MP3 and generate MP4 for timeline verification.
## Install Docker Image
```bash
Coming Soon
```

## Dependencies

Expand Down

0 comments on commit 6d9ed4e

Please sign in to comment.