diff --git a/.gitea/workflows/execute.yaml b/.gitea/workflows/execute.yaml index c6b608a..6cecf12 100644 --- a/.gitea/workflows/execute.yaml +++ b/.gitea/workflows/execute.yaml @@ -1,10 +1,12 @@ -name: Execute video summary bot +name: execute + on: workflow_dispatch: inputs: video-url: description: "URL for the video to be analyzed" required: true + jobs: Python: runs-on: ubuntu-latest @@ -13,13 +15,15 @@ jobs: OPENAI_BASE_URL: "http://192.168.1.168/v1" steps: - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 + + - uses: actions/setup-python@v5 with: python-version: "3.10" + - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt + - name: Run applicaiton run: python app.py