Skip to content

Commit

Permalink
bhai mai nalla he reh jaunga
Browse files Browse the repository at this point in the history
  • Loading branch information
theSoberSobber committed Mar 1, 2024
1 parent ff6cb82 commit f59f929
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
sudo apt-get install -y cmake
sudo apt-get install -y make
sudo apt-get install -y g++
sudo apt-get install -y ffmpeg
sudo apt-get install -y libmagick++-dev
# Checkout repository recursively
- name: Checkout repository
Expand All @@ -39,6 +41,11 @@ jobs:
run: |
mv lib/whisper/build/bin/main .
# Run model downloader script
- name: Run model downloader script
run: |
./models/downloader.sh large-v1
# Set up Python and install Python dependencies
- name: Set up Python
uses: actions/setup-python@v2
Expand All @@ -50,17 +57,17 @@ jobs:
python -m pip install --upgrade pip
python -m pip install moviepy pytube gtts
# Make the generate.sh script executable
# Make the generate-with-extra-logging.sh script executable
- name: Make script executable
run: chmod +x generate-with-extra-logging.sh

# Generate the video using the provided text script
- name: Generate Video
run: |
# Accessing the input provided by the user
script="${{ github.event.inputs.scriptInput }}"
# Run the generate.sh script with the provided text as argument
# Run the generate-with-extra-logging.sh script with the provided text as argument
./generate-with-extra-logging.sh "$script"
# Upload the generated video as an artifact
Expand Down

0 comments on commit f59f929

Please sign in to comment.