chatbot-g-pdf-2 / README.md
Maxime Bourliatoux
Initial commit
3b6db3d
|
raw
history blame contribute delete
No virus
771 Bytes

A newer version of the Gradio SDK is available: 4.44.0

Upgrade
metadata
title: GAIA Chatbot - level 3
emoji: 🌍
colorFrom: red
colorTo: purple
sdk: gradio
sdk_version: 4.16.0
app_file: app.py
pinned: false
license: mit

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

pip install gradio

pip install -r requirements.txt

Add Mistral API Key to your environement variables

in ~/.profile or ~/.bashrc

export MISTRAL_API_KEY=YOUR_API_KEY

Run your code

python3 app.py

Open your browser to http://127.0.0.1:7860