Spaces:
Running
Running
link to dict
Browse files
app.py
CHANGED
@@ -92,7 +92,8 @@ if sentence:
|
|
92 |
|
93 |
# Construct the table as a Markdown string
|
94 |
table_md = "<div dir='rtl' style='text-align: right;'>\n\n" # Start with RTL div
|
95 |
-
|
|
|
96 |
.google-translate-place {
|
97 |
width: 256px;
|
98 |
height: 128px;
|
@@ -115,7 +116,7 @@ if sentence:
|
|
115 |
width: 2560px; height: 5120px;
|
116 |
position: absolute;
|
117 |
}
|
118 |
-
</style>"""
|
119 |
|
120 |
# Add the UD header lines
|
121 |
table_md += "##" + ud_output[0] + "\n"
|
|
|
92 |
|
93 |
# Construct the table as a Markdown string
|
94 |
table_md = "<div dir='rtl' style='text-align: right;'>\n\n" # Start with RTL div
|
95 |
+
st.markdown(
|
96 |
+
f"""<style>
|
97 |
.google-translate-place {
|
98 |
width: 256px;
|
99 |
height: 128px;
|
|
|
116 |
width: 2560px; height: 5120px;
|
117 |
position: absolute;
|
118 |
}
|
119 |
+
</style>""", unsafe_allow_html=True)
|
120 |
|
121 |
# Add the UD header lines
|
122 |
table_md += "##" + ud_output[0] + "\n"
|