Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,12 +10,12 @@ import time
|
|
| 10 |
#------------------------------------------------------------------------
|
| 11 |
# Streamlit page setup
|
| 12 |
st.set_page_config(
|
| 13 |
-
page_title="
|
| 14 |
page_icon=":speech_balloon:",
|
| 15 |
layout="centered",
|
| 16 |
initial_sidebar_state="auto",
|
| 17 |
menu_items={
|
| 18 |
-
'Get Help': 'mailto:
|
| 19 |
'About': "This app is built to support translation tasks"
|
| 20 |
}
|
| 21 |
)
|
|
@@ -25,7 +25,7 @@ st.set_page_config(
|
|
| 25 |
#------------------------------------------------------------------------
|
| 26 |
|
| 27 |
# Set the title of the app
|
| 28 |
-
st.title("
|
| 29 |
|
| 30 |
# Description
|
| 31 |
st.write("""
|
|
@@ -42,7 +42,7 @@ with st.sidebar:
|
|
| 42 |
# Set the desired width in pixels
|
| 43 |
image_width = 300
|
| 44 |
# Define the path to the image
|
| 45 |
-
image_path = "
|
| 46 |
# Display the image
|
| 47 |
st.image(image_path, width=image_width)
|
| 48 |
|
|
|
|
| 10 |
#------------------------------------------------------------------------
|
| 11 |
# Streamlit page setup
|
| 12 |
st.set_page_config(
|
| 13 |
+
page_title="Text Translator",
|
| 14 |
page_icon=":speech_balloon:",
|
| 15 |
layout="centered",
|
| 16 |
initial_sidebar_state="auto",
|
| 17 |
menu_items={
|
| 18 |
+
'Get Help': 'mailto:info@mtss.ai',
|
| 19 |
'About': "This app is built to support translation tasks"
|
| 20 |
}
|
| 21 |
)
|
|
|
|
| 25 |
#------------------------------------------------------------------------
|
| 26 |
|
| 27 |
# Set the title of the app
|
| 28 |
+
st.title("Text Translator")
|
| 29 |
|
| 30 |
# Description
|
| 31 |
st.write("""
|
|
|
|
| 42 |
# Set the desired width in pixels
|
| 43 |
image_width = 300
|
| 44 |
# Define the path to the image
|
| 45 |
+
image_path = "MTSSai_logo.png"
|
| 46 |
# Display the image
|
| 47 |
st.image(image_path, width=image_width)
|
| 48 |
|