Gradio Chatbot Usage
This project involves a chatbot application integrated with a Gradio application that takes user input, performs a specific action and returns the results. This custom application translates the user input into English, sends it to the Gradio application, and translates the response back into Turkish and presents it to the user.
Features
Language Translation: Automatically translates user input into English and translates responses from the Gradio app into Turkish. Gradio Integration: Connects to the Gradio application over HTTP and processes user input. Flexible Usage: Users can use the 'exit' command when they want to quit.
Installation Before using this project, you need to prepare your system by following the steps below:
Install the Required Libraries: You need gradio_client and deep_translator libraries to run the project. You can install these libraries with the following command:
bash Copy code pip install gradio_client deep_translator URL of the Gradio App: This script needs the URL of a Gradio application to run. For example: https://hysts-mistral-7b.hf.space/--replicas/ezo3j/
Usage Initializing the Code: Run the python file via terminal or command line to run the script.
User Input: The user enters the desired message through the terminal.
Exiting: When the user wants to end the chat, they can exit the application by typing 'exit'.
License: This project is licensed under the MIT License.