Skip to content

mahmodjabareen/Gradio_ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Project Name

Gradio_Chatbot

Description

after Deploying your LLM model you can connect this app to interact with your model using UI interface

Installation

Clone this repository to your local machine:

git clone https://github.com/mahmodjabareen/Gradio_ChatBot.git 
cd Gradio_ChatBot

Install the required dependencies:

pip install gradio

Configuration

Open the main.py file and set the following variables with your specific values:

bot_url="YOUR_URL"
header_token="YOUR_TOKEN"
model_uuid="YOUR_MODEL_UUID"

Modify the values in the request_payload dictionary in the send_request function according to your requirements.

Sharing Your Application

The sharing feature is enabled by default, making it effortless to share your application. The URL format for your colleagues to access the chatbot will appear as follows:

chat_interface.launch(share=True)

This code will generate both local and public URLs, simplifying the process of sharing your chatbot application with others in a professional manner.

run the app

python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages