Agent / README.md
PuruAI's picture
Update README.md
c279723 verified

A newer version of the Gradio SDK is available: 6.12.0

Upgrade
metadata
title: PuruAI AI Agent
emoji: πŸ€–
colorFrom: purple
colorTo: pink
sdk: gradio
sdk_version: 5.46.0
app_file: app.py
pinned: false

πŸ€– PuruAI Agent

An AI Agent built on Hugging Face Spaces.

✨ Features

  • Loads Medini Intelligence model if available
  • Falls back to GPT-2 when Medini is missing or private
  • Interactive chat UI powered by Gradio
  • Always runs (never crashes due to missing model)

πŸš€ Usage

  1. Open the Space.
  2. Type your message in the input box.
  3. Get AI-generated responses in a conversational style.

πŸ” Private Model Setup (Optional)

If PuruAI/Medini_Intelligence is private:

  1. Go to your Hugging Face profile β†’ Access Tokens β†’ create a new token.
  2. In your Space, open Settings β†’ Repository secrets.
  3. Add:
    HF_TOKEN=your_hf_token
    

The Agent will then load Medini instead of GPT-2.

πŸ› οΈ Run Locally

Clone this repo and install dependencies:

git clone https://huggingface.co/spaces/PuruAI/Agent
cd Agent
pip install -r requirements.txt
python app.py

πŸ“¦ Requirements

Main libraries used:

  • transformers
  • torch
  • gradio
  • requests

(Already listed in requirements.txt)


Made with πŸ’œ by PuruAI