ConradLinus's picture
Upload folder using huggingface_hub
63c0c36 verified

A newer version of the Gradio SDK is available: 5.35.0

Upgrade

Setup environment variables


OPENAI_API_KEY=<your-openai-key>
PUSHOVER_USER=<your-pushover-user-key>
PUSHOVER_TOKEN=<your-pushover-token>
RATELIMIT_API="https://ratelimiter-api.ksoftdev.site/api/v1/counter/fixed-window"
REQUEST_TOKEN=<any-token>

Installation

  1. Clone the repo

git clone httsp://github.com/ken-027/agents.git
  1. Create and set a virtual environment

python -m venv agent
agent\Scripts\activate
  1. Install dependencies

pip install -r requirements.txt
  1. Run the app

cd 1_foundations/community_contributions/openai_chatbot_k && py app.py
or
py 1_foundations/community_contributions/openai_chatbot_k/app.py