Spaces:
Sleeping
Sleeping
jaya-sandeep-22
commited on
Commit
•
9378804
1
Parent(s):
9e768fc
Update README.md
Browse files
README.md
CHANGED
@@ -1,47 +0,0 @@
|
|
1 |
-
Translation and Chat App using AI
|
2 |
-
<!-- Replace with actual screenshot URL -->
|
3 |
-
|
4 |
-
Overview
|
5 |
-
This app is designed to translate text between English, Chinese, and Japanese or engage in simple chat interactions. It leverages the Qwen-2 1.5B-Instruct language model for generating accurate and contextually appropriate translations or responses.
|
6 |
-
|
7 |
-
Features
|
8 |
-
Text Translation: Translate input text into English, Chinese, or Japanese.
|
9 |
-
Chat Interaction: Engage in a basic chat with the AI using the selected language.
|
10 |
-
Text-to-Speech: Convert the generated text into speech, with audio output available for download.
|
11 |
-
How to Use
|
12 |
-
Input Text: Type or paste the text you want to translate or chat with into the text box.
|
13 |
-
Select Action: Choose one of the following options:
|
14 |
-
Translate to English
|
15 |
-
Translate to Chinese
|
16 |
-
Translate to Japanese
|
17 |
-
Chat
|
18 |
-
Get Results: The app will display the translated text and generate an audio file you can listen to or download.
|
19 |
-
Technology Stack
|
20 |
-
Language Model: Qwen-2 1.5B-Instruct
|
21 |
-
Framework: Gradio for the user interface.
|
22 |
-
Text-to-Speech: gTTS (Google Text-to-Speech).
|
23 |
-
Installation and Setup
|
24 |
-
If you want to run this app locally:
|
25 |
-
|
26 |
-
Clone the repository.
|
27 |
-
|
28 |
-
Install the required dependencies:
|
29 |
-
|
30 |
-
bash
|
31 |
-
Copy code
|
32 |
-
pip install -r requirements.txt
|
33 |
-
Run the application:
|
34 |
-
|
35 |
-
bash
|
36 |
-
Copy code
|
37 |
-
python app.py
|
38 |
-
Future Enhancements
|
39 |
-
Language Expansion: Support for more languages.
|
40 |
-
Custom Chat Modes: Different modes for formal and informal chats.
|
41 |
-
Enhanced UI: A more dynamic and visually appealing interface.
|
42 |
-
License
|
43 |
-
This project is licensed under the MIT License.
|
44 |
-
|
45 |
-
Acknowledgements
|
46 |
-
Thanks to Hugging Face for providing the platform and models.
|
47 |
-
Special mention to Gradio for making the UI simple and intuitive.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|