Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ if query:
|
|
58 |
# table.head(10).to_csv("clotting_sim1.csv", index=True)
|
59 |
# short_table = table.head(50)
|
60 |
# print(table)
|
61 |
-
st.subheader(f"
|
62 |
|
63 |
# calculate the sizes of the squares in the treemap
|
64 |
short_table = table.head(10)
|
@@ -101,7 +101,7 @@ if query:
|
|
101 |
print()
|
102 |
# df1.head(50).to_csv("clotting_sim2.csv", index=True, header=False)
|
103 |
# time.sleep(2)
|
104 |
-
st.subheader(f"
|
105 |
|
106 |
df10 = df1.head(10)
|
107 |
df10.index = 1/df10.index
|
|
|
58 |
# table.head(10).to_csv("clotting_sim1.csv", index=True)
|
59 |
# short_table = table.head(50)
|
60 |
# print(table)
|
61 |
+
st.subheader(f"Top 10 Words closely related to {query}")
|
62 |
|
63 |
# calculate the sizes of the squares in the treemap
|
64 |
short_table = table.head(10)
|
|
|
101 |
print()
|
102 |
# df1.head(50).to_csv("clotting_sim2.csv", index=True, header=False)
|
103 |
# time.sleep(2)
|
104 |
+
st.subheader(f"Top 10 Genes closely related to {query}")
|
105 |
|
106 |
df10 = df1.head(10)
|
107 |
df10.index = 1/df10.index
|