Spaces:
Sleeping
Sleeping
Moezulhaq24
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -11,10 +11,35 @@ model_mapping = {
|
|
11 |
}
|
12 |
|
13 |
# Streamlit app
|
14 |
-
st.title("
|
15 |
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
st.header("Translate Text")
|
19 |
|
20 |
# Input text
|
|
|
11 |
}
|
12 |
|
13 |
# Streamlit app
|
14 |
+
st.title("🌎 TRANSLINGO 🔡")
|
15 |
|
16 |
+
st.markdown(
|
17 |
+
"""
|
18 |
+
<style>
|
19 |
+
.main {
|
20 |
+
background: linear-gradient(to right, #ff7e5f, #feb47b);
|
21 |
+
height: 100vh;
|
22 |
+
padding: 2rem;
|
23 |
+
}
|
24 |
+
.block-container {
|
25 |
+
padding: 2rem;
|
26 |
+
}
|
27 |
+
.title {
|
28 |
+
background-color: #d4edda; /* Light green color */
|
29 |
+
padding: 1rem;
|
30 |
+
border-radius: 8px;
|
31 |
+
text-align: center;
|
32 |
+
}
|
33 |
+
</style>
|
34 |
+
""",
|
35 |
+
unsafe_allow_html=True
|
36 |
+
)
|
37 |
+
|
38 |
+
|
39 |
+
col1, col2, col3 = st.columns([1, 3, 1])
|
40 |
+
|
41 |
+
# Center the content in the middle column
|
42 |
+
with col2:
|
43 |
st.header("Translate Text")
|
44 |
|
45 |
# Input text
|