|
--- |
|
title: Ginkgo AbDev benchmark |
|
emoji: 🔋 |
|
colorFrom: purple |
|
colorTo: green |
|
sdk: gradio |
|
pinned: false |
|
hf_oauth: true |
|
hf_oauth_expiration_minutes: 480 |
|
hf_oauth_scopes: |
|
- read-repos |
|
- write-repos |
|
- manage-repos |
|
- inference-api |
|
--- |
|
|
|
To run the gradio app, install the dependencies and run `python app.py`. |
|
You can also do `gradio app.py` to use a filewatcher and update the app as you edit the files, but I haven't found that to work too well. |
|
|
|
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference |
|
|
|
### Quickstart |
|
|
|
Install `uv` |
|
``` |
|
curl -LsSf https://astral.sh/uv/install.sh | sh |
|
``` |
|
Create new environment and install requirements with `uv` |
|
``` |
|
uv venv && uv pip install -r requirements.txt |
|
``` |
|
Run app |
|
``` |
|
uv run python app.py |
|
``` |
|
Run tests |
|
``` |
|
uv run pytest |
|
``` |
|
|