title: First Agent Template | |
emoji: ⚡ | |
colorFrom: pink | |
colorTo: yellow | |
sdk: gradio | |
sdk_version: 5.15.0 | |
app_file: app.py | |
pinned: false | |
tags: | |
- smolagents | |
- agent | |
- smolagent | |
- tool | |
- agent-course | |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
## To run the app locally: | |
```bash | |
source .venv/bin/activate | |
pip install -r requirements.txt | |
python app.py | |
``` | |
Make sure you have installed huggingface_hub: | |
```bash | |
pip install --upgrade huggingface_hub | |
``` | |
## Supported prompts: | |
- Generate a postcard with a greeting: <greeting> | |
- Generate postcard comic story images for the following greeting: <greeting> | |
Add all images to the final answer. | |