Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

EvickaStudio/Huggingface-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huggingface Chat 🤗🚀

GitHub Workflow Status GitHub license GitHub issues GitHub pull requests GitHub last commit GitHub Watchers GitHub repo size

A simple Python application utilizing Hugging Face's chat models as an open-source alternative to OpenAI.

Important

The project is not complete and is still under development (Only Login/ Auth is working).

Table of Contents

  1. Getting Started
  2. Usage Examples
  3. Project Structure
  4. Contribution Guidelines
  5. License
  6. Contact Us

Getting Started

Prerequisites

To run the application locally, please ensure the following prerequisites are met (optional when no new major features are added)

  • Python >=3.8
  • httpx ~0.26.0
  • configparser >=6.0.0

Setup Guide

  1. Download and install the latest version of Python.
  2. Install the required libraries by running:
pip install -r requirements.txt

Optional Virtual Environment Setup

It is recommended to create a virtual environment to isolate package dependencies. To do so, follow these steps:

On Windows:

py -m venv venv
venv\Scripts\activate

On Linux / macOS:

python3 -m venv venv
source venv/bin/activate

Running Application

Execute the main script main.py located in the root directory:

python main.py

Start interacting with the AI chatbot! 🎉

Usage Examples

Use the application to interactively ask questions and engage in meaningful conversations powered by Hugging Face AI models. Explore the wide range of pre-trained models available at HuggingChat Settings. (Customize the model settings in the config.ini file according to your preference.)

Project Structure

The project contains the following components:

  1. Backend API Wrapper
  2. Configuration Management
  3. Text Extraction for Response (coming soon)

Key directories and files include:

  • config.ini: Global configuration file controlling app settings, including authentication tokens (and preferred chatbot models).
  • auth folder: Holds scripts for accessing Hugging Face APIs and processing responses effectively.
  • utils folder: Contains utility scripts for text extraction, configuration management, and additional tasks.
  • requirements.txt: Provides a list of essential packages and respective versions for the proper functioning of the complete system.

Contribution Guidelines

TODO

License

This project is governed by the Apache 2.0 License - refer to the LICENSE.md file for further details.

Contact Us

TODO Have fun coding! 😊

About

A simple Python application utilizing Hugging Face's chat models as an open-source alternative to OpenAI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages