Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ st.markdown(
|
|
24 |
unsafe_allow_html=True
|
25 |
)
|
26 |
|
27 |
-
st.write
|
28 |
# Add some text to the app
|
29 |
st.write("**This is my Streamlit app with HTML and CSS formatting.**")
|
30 |
|
@@ -53,7 +53,7 @@ if query:
|
|
53 |
table.head(10).to_csv("clotting_sim1.csv", index=True)
|
54 |
# short_table = table.head(50)
|
55 |
# print(table)
|
56 |
-
st.
|
57 |
|
58 |
# calculate the sizes of the squares in the treemap
|
59 |
short_table = table.head(20)
|
@@ -88,7 +88,7 @@ if query:
|
|
88 |
print()
|
89 |
df1.head(50).to_csv("clotting_sim2.csv", index=True, header=False)
|
90 |
# time.sleep(2)
|
91 |
-
st.
|
92 |
|
93 |
df1 = df1.head(20)
|
94 |
df1.index = 1/df1.index
|
|
|
24 |
unsafe_allow_html=True
|
25 |
)
|
26 |
|
27 |
+
st.write("My Streamlit App with HTML and CSS")
|
28 |
# Add some text to the app
|
29 |
st.write("**This is my Streamlit app with HTML and CSS formatting.**")
|
30 |
|
|
|
53 |
table.head(10).to_csv("clotting_sim1.csv", index=True)
|
54 |
# short_table = table.head(50)
|
55 |
# print(table)
|
56 |
+
st.write(f"Similar Words to {query}")
|
57 |
|
58 |
# calculate the sizes of the squares in the treemap
|
59 |
short_table = table.head(20)
|
|
|
88 |
print()
|
89 |
df1.head(50).to_csv("clotting_sim2.csv", index=True, header=False)
|
90 |
# time.sleep(2)
|
91 |
+
st.write(f"Similar Genes to {query}")
|
92 |
|
93 |
df1 = df1.head(20)
|
94 |
df1.index = 1/df1.index
|