datascientist22 commited on
Commit
8075ba1
1 Parent(s): 51d3578

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +64 -0
README.md CHANGED
@@ -10,3 +10,67 @@ pinned: false
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
13
+
14
+ # 🌐 Multilingual Translator
15
+
16
+ Created by: [Engr. Hamesh Raj](https://www.linkedin.com/in/datascientisthameshraj/)
17
+
18
+ ## Overview
19
+
20
+ This Streamlit application is a multilingual translator that allows users to translate text from English to various languages. It uses the `Helsinki-NLP/opus-mt` models from Hugging Face to perform the translations. The app dynamically loads the appropriate model based on the selected target language and provides real-time translations.
21
+
22
+ ## Features
23
+
24
+ - **Dynamic Language Selection:** Choose from a wide range of target languages for translation.
25
+ - **Real-Time Translation:** Enter text in English and get instant translations in the selected target language.
26
+ - **User-Friendly Interface:** Simple and intuitive interface using Streamlit.
27
+
28
+ ## Languages Covered
29
+
30
+ The application supports translation from English to different languages.
31
+ ## How to Use
32
+
33
+ 1. **Select Target Language:** Choose the language you want to translate to from the dropdown menu.
34
+ 2. **Enter Text:** Type or paste the text you want to translate into the text area.
35
+ 3. **Translate:** Click on the "Translate" button to see the translation in the selected target language.
36
+
37
+ ## Live Demo
38
+
39
+ Check out the live demo of the app on Hugging Face:
40
+
41
+ 🔗 [Multilingual Translator on Hugging Face](https://huggingface.co/spaces/datascientist22/multi-language-translator-bot)
42
+
43
+ ## Installation
44
+
45
+ To run the app locally, follow these steps:
46
+
47
+ 1. Clone the repository:
48
+ ```bash
49
+ git clone https://github.com/mldatascientist23/Generative_AI_Projects.git
50
+ cd Generative_AI_Projects/Multilingual_Translator
51
+ ```
52
+
53
+ 2. Install the required packages:
54
+ ```bash
55
+ pip install -r requirements.txt
56
+ ```
57
+
58
+ 3. Run the Streamlit app:
59
+ ```bash
60
+ streamlit run app.py
61
+ ```
62
+
63
+ ## Requirements
64
+
65
+ - `streamlit`
66
+ - `transformers`
67
+ - `torch`
68
+ - 'sentencepiece'
69
+
70
+ ## License
71
+
72
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
73
+
74
+ ---
75
+
76
+ Feel free to connect with me on [LinkedIn](https://www.linkedin.com/in/datascientisthameshraj/) for any questions or feedback!