example / README.md
ionosphere's picture
Update
1a555a0

A newer version of the Gradio SDK is available: 6.2.0

Upgrade
metadata
title: GAIA Chatbot - level 2
emoji: πŸ‘
colorFrom: red
colorTo: pink
sdk: gradio
sdk_version: 5.13.1
app_file: app.py
pinned: false
license: mit
short_description: Example of chatbot with RAG on one link

Run on a space

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

Simply push your code on a huggingface space.

Run locally

You must have python (3.8)[https://www.python.org/downloads/].

Check https://www.gradio.app/guides/quickstart for more details about Gradio.

Install dependencies

python -m venv .venv

source .venv/bin/activate

pip install -r requirements.txt

Add Claude API Key to your environement variables

ANTHROPIC_API_KEY=XXXXXXXXXXXXXXXXXX

Run your code

python3 app.py

Open your browser to http://127.0.0.1:7860