Spaces:
Build error
Build error
Thomas Chaigneau
commited on
Commit
·
31ac90d
1
Parent(s):
8e9bdee
fix expander text
Browse files
main.py
CHANGED
|
@@ -23,22 +23,22 @@ with st.expander(label="❓ How does it work", expanded=True):
|
|
| 23 |
**Translator** is powered by the [Transformers library](https://huggingface.co/transformers) and uses the
|
| 24 |
[Helsinki-NLP](https://huggingface.co/Helsinki-NLP) models.
|
| 25 |
|
| 26 |
-
Choose the **source language
|
| 27 |
|
| 28 |
-
**Translator** will translate the text and **save the output in a text file**. It cuts the
|
| 29 |
-
punctuation marks.
|
| 30 |
|
| 31 |
-
The output file content will also be displayed in the browser to help you
|
| 32 |
if you want to download it.
|
| 33 |
|
| 34 |
There is **no limit to the number of characters** that can be translated.
|
| 35 |
The only limit is the time you are ready to wait! 🤗
|
| 36 |
|
| 37 |
-
*P.S. I have built this tool to help me
|
| 38 |
and I will use it to translate my potential future blog posts in English.*
|
| 39 |
|
| 40 |
-
*P.P.S. I am an **AI developer** passionate about **machine learning** and **data science**. Reach me by
|
| 41 |
-
the socials badges above.*
|
| 42 |
""")
|
| 43 |
|
| 44 |
lang1, lang2 = st.columns(2)
|
|
|
|
| 23 |
**Translator** is powered by the [Transformers library](https://huggingface.co/transformers) and uses the
|
| 24 |
[Helsinki-NLP](https://huggingface.co/Helsinki-NLP) models.
|
| 25 |
|
| 26 |
+
Choose the **source language**, the **target language** and add some **text to translate**.
|
| 27 |
|
| 28 |
+
**Translator** will translate the text and **save the output in a text file**. It cuts the sentences by following
|
| 29 |
+
the punctuation marks.
|
| 30 |
|
| 31 |
+
The output file content will also be displayed in the browser to help you understand the translation and choose
|
| 32 |
if you want to download it.
|
| 33 |
|
| 34 |
There is **no limit to the number of characters** that can be translated.
|
| 35 |
The only limit is the time you are ready to wait! 🤗
|
| 36 |
|
| 37 |
+
*P.S. I have built this tool to help me start writing blog posts in different languages. I am a French native speaker
|
| 38 |
and I will use it to translate my potential future blog posts in English.*
|
| 39 |
|
| 40 |
+
*P.P.S. I am an **AI developer** passionate about **machine learning** and **data science**. Reach out to me by
|
| 41 |
+
clicking on the socials badges above.*
|
| 42 |
""")
|
| 43 |
|
| 44 |
lang1, lang2 = st.columns(2)
|