| 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 |
| hf_oauth_expiration_minutes | 480 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
After cloning this repository, follow these steps to set up and run the application:
- Python 3.11 or higher
- Git
-
Clone the repository (if you haven't already):
git clone https://github.com/javierlinked/Agents_Huggingface.git cd Agents_Huggingface -
Create a virtual environment:
python3 -m venv .venv
-
Activate the virtual environment:
source .venv/bin/activate -
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables (if needed): Create a
.envfile in the project root and add any required API keys or configuration variables. -
Run the application:
python app.py
-
Run demos:
python -m test.test_audio python -m test.test.video
The Gradio application will start and you can access it through your web browser at the URL displayed in the terminal (typically http://127.0.0.1:7860).
app.py- Main Gradio applicationagent.py- Agent implementationtools.py- Tool definitionsrequirements.txt- Python dependenciessystem_prompt.txt- System prompt configuration