Closes Broadcast/video-summary-bot#1 Closes Broadcast/video-summary-bot#3 Reviewed-on: #4
30 lines
608 B
YAML
30 lines
608 B
YAML
name: execute
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
video-url:
|
|
description: "URL for the video to be analyzed"
|
|
required: true
|
|
|
|
jobs:
|
|
Python:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
OPENAI_API_KEY: "nokey"
|
|
OPENAI_BASE_URL: "http://192.168.1.168/v1"
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- 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
|