Spaces:
Sleeping
title: Gaia Chat
emoji: 💬
colorFrom: yellow
colorTo: purple
sdk: gradio
sdk_version: 5.0.1
app_file: app.py
pinned: false
license: mit
Choisir la langue : Français | English
Français
Description
Gaia Chat est un exemple de chatbot utilisant Gradio, huggingface_hub
, et l'API d'inférence de Hugging Face. Ce projet montre comment créer un chatbot interactif en utilisant ces outils.
Prérequis
- Python 3.6 ou supérieur
- Gradio
- Chardet
Installation
1. Installer Python
Assurez-vous que Python est installé.
python --version
- Rendez-vous sur le site officiel de Python : https://www.python.org/downloads/
- Vérifiez l’installation avec la commande :
python --version
2. Installer les dépendances
Installez Gradio
:
pip install gradio
Installez Chardet
:
pip install chardet
5. Gener un Access token sur Hugging Face
Rendez-vous sur votre profil Hugging Face pour genenez votre Access Token : https://huggingface.co/settings/tokens
4. Lancer l'application
Exécutez la commande suivante pour démarrer Gaia Chat :
python app.py
Une fois l'application lancée, ouvrez votre navigateur et accédez à l'URL indiquée dans le terminal pour interagir avec le chatbot.
English
Description
Gaia Chat is an example chatbot using Gradio, huggingface_hub
, and l 'Hugging Face Inference API. This project shows how to create an interactive chatbot using these tools.
prerequisites
- Python 3.6
- Gradio
- Chardet
Facilities
1. Python install
Make sure Python is installed.
python --version
- Go to the official Python website: https://www.python.org/downloads/
- Verify the installation with the command:
python --version
2. Install dependencies
Install Gradio
:
pip install gradio
Install Chardet
pip install chardet
5. Generate Access Token on Hugging Face
Go to your Hugging Face profile to generate your access token: https://huggingface.co/settings/tokens
4. Launch the application
Run the following command to start Gaia Chat:
python app.py
Once the application is launched, open your browser and navigate to the URL given in the terminal to interact with the chatbot.