--- title: Agents Course 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 --- # Evaluation application for Unit 4 of the HuggingFace Agents course This is my implementation of the evaluation application. Differently from the original application I cloned from, this one is thought to be run locally, because I am using Ollama. When running locally, you have to create a `.env` file into the root of the project. This file gets read from the `dotenv.load_dotenv()` instruction and must contain the following variables: ```commandline HF_USERNAME="" HF_ACCESS_TOKEN="" SPACE_HOST="localhost" SPACE_ID="" TAVILY_API_KEY="" ``` You can infer the space ID by reading the address of your space when you access the `Files` section. For example, if you read ```commandline https://huggingface.co/spaces/aaa/bbb/tree/main ``` then the `SPACE_ID` is `aaa/bbb` (where `aaa` should be the user name). # Configuration Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference