Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,14 +5,6 @@ import PyPDF2
|
|
| 5 |
import docx
|
| 6 |
import time
|
| 7 |
|
| 8 |
-
# Set the title of the app
|
| 9 |
-
st.title("Galactic Babel Fish Translator")
|
| 10 |
-
|
| 11 |
-
# Description
|
| 12 |
-
st.write("""
|
| 13 |
-
Choose a target language, enter your text or upload a document, and click **Translate** to get the translated text.
|
| 14 |
-
""")
|
| 15 |
-
|
| 16 |
#------------------------------------------------------------------------
|
| 17 |
# Configurations
|
| 18 |
#------------------------------------------------------------------------
|
|
@@ -28,6 +20,18 @@ st.set_page_config(
|
|
| 28 |
}
|
| 29 |
)
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
#------------------------------------------------------------------------
|
| 32 |
# Sidebar
|
| 33 |
#------------------------------------------------------------------------
|
|
|
|
| 5 |
import docx
|
| 6 |
import time
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
#------------------------------------------------------------------------
|
| 9 |
# Configurations
|
| 10 |
#------------------------------------------------------------------------
|
|
|
|
| 20 |
}
|
| 21 |
)
|
| 22 |
|
| 23 |
+
#------------------------------------------------------------------------
|
| 24 |
+
# Title
|
| 25 |
+
#------------------------------------------------------------------------
|
| 26 |
+
|
| 27 |
+
# Set the title of the app
|
| 28 |
+
st.title("Galactic Babel Fish Translator")
|
| 29 |
+
|
| 30 |
+
# Description
|
| 31 |
+
st.write("""
|
| 32 |
+
Choose a target language, enter your text or upload a document, and click **Translate** to get the translated text.
|
| 33 |
+
""")
|
| 34 |
+
|
| 35 |
#------------------------------------------------------------------------
|
| 36 |
# Sidebar
|
| 37 |
#------------------------------------------------------------------------
|