Spaces:
Sleeping
Sleeping
link to dict
Browse files
app.py
CHANGED
@@ -71,6 +71,8 @@ output_style = st.selectbox(
|
|
71 |
# User input
|
72 |
sentence = st.text_input('Enter a sentence to analyze:')
|
73 |
|
|
|
|
|
74 |
if sentence:
|
75 |
# Display the input sentence
|
76 |
st.text(sentence)
|
@@ -106,7 +108,6 @@ if sentence:
|
|
106 |
cells[2] = "<a href='#gsc.q="+cells[2]+"&gsc.tab=1&gsc.sort='>" + cells[2] + "</a>"
|
107 |
table_md += "| " + " | ".join(cells) + " |\n"
|
108 |
table_md += "</div>" # Close the RTL div
|
109 |
-
table_md += "<script async src='https://cse.google.com/cse.js?cx=002406fddcc60435c'></script><div class='gcse-search'></div>"
|
110 |
print(table_md)
|
111 |
|
112 |
# Display the table using a single markdown call
|
|
|
71 |
# User input
|
72 |
sentence = st.text_input('Enter a sentence to analyze:')
|
73 |
|
74 |
+
print("<script async src='https://cse.google.com/cse.js?cx=002406fddcc60435c'></script><div class='gcse-search'></div>")
|
75 |
+
|
76 |
if sentence:
|
77 |
# Display the input sentence
|
78 |
st.text(sentence)
|
|
|
108 |
cells[2] = "<a href='#gsc.q="+cells[2]+"&gsc.tab=1&gsc.sort='>" + cells[2] + "</a>"
|
109 |
table_md += "| " + " | ".join(cells) + " |\n"
|
110 |
table_md += "</div>" # Close the RTL div
|
|
|
111 |
print(table_md)
|
112 |
|
113 |
# Display the table using a single markdown call
|