Skip to content

javierlinked/Agents_Huggingface

Repository files navigation

title emoji colorFrom colorTo sdk sdk_version app_file pinned hf_oauth hf_oauth_expiration_minutes
Template Final Assignment
🕵🏻‍♂️
indigo
indigo
gradio
5.25.2
app.py
false
true
480

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Getting Started

After cloning this repository, follow these steps to set up and run the application:

Prerequisites

  • Python 3.11 or higher
  • Git

Setup Instructions

  1. Clone the repository (if you haven't already):

    git clone https://github.com/javierlinked/Agents_Huggingface.git
    cd Agents_Huggingface
  2. Create a virtual environment:

    python3 -m venv .venv
  3. Activate the virtual environment:

    source .venv/bin/activate
  4. Install dependencies:

    pip install -r requirements.txt
  5. Set up environment variables (if needed): Create a .env file in the project root and add any required API keys or configuration variables.

  6. Run the application:

    python app.py
  7. 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).

Project Structure

  • app.py - Main Gradio application
  • agent.py - Agent implementation
  • tools.py - Tool definitions
  • requirements.txt - Python dependencies
  • system_prompt.txt - System prompt configuration

About

Agents Huggingface Final Assignment

Resources

License

Stars

Watchers

Forks

Languages