Spaces:
Build error
Build error
File size: 1,049 Bytes
2705160 62ad9da 2705160 d123508 2705160 6715b3e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 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 50 51 52 53 | ---
title: Template Final Assignment
emoji: 🕵🏻♂️
colorFrom: indigo
colorTo: indigo
sdk: gradio
sdk_version: 5.25.2
app_file: app.py
pinned: false
hf_oauth: true
# optional, default duration is 8 hours/480 minutes. Max duration is 30 days/43200 minutes.
hf_oauth_expiration_minutes: 480
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# Local Dev
Dependencies:
```shell
brew install stockfish
brew install ffmpeg # for youtube audio transcription
brew install tesseract # for image transcription
brew install graphviz # for graph visualization
```
To prepare the environment:
```shell
. pub_env.fish
python3 -m venv .venv
. .venv/bin/activate.fish
pip install --upgrade pip wheel setuptools
pip install "gradio[oauth]"
pip install -r requirements.txt
```
## Iterating Locally
### Pull the questions once via:
```shell
python quick_fetch.py # creates questions.json
```
### Run the agent locally:
```shell
python run_local.py
```
### To run the app:
```shell
python app.py
```
|