Spaces:
Runtime error
Runtime error
second
Browse files- scattertext_funtion.py +7 -3
scattertext_funtion.py
CHANGED
@@ -53,12 +53,16 @@ if uploaded_file is not None:
|
|
53 |
width_in_pixels=1000,
|
54 |
minimum_term_frequency=0,
|
55 |
metadata=df)
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
|
58 |
|
59 |
|
60 |
-
else:
|
61 |
-
st.error("Unsupported file format.")
|
62 |
else:
|
63 |
st.write("Please upload a CSV or TXT file to begin.")
|
64 |
|
|
|
53 |
width_in_pixels=1000,
|
54 |
minimum_term_frequency=0,
|
55 |
metadata=df)
|
56 |
+
st.components.v1.html(html)
|
57 |
+
else:
|
58 |
+
st.error("Unsupported file format.")
|
59 |
+
|
60 |
+
# function2: generate plot from databases
|
61 |
+
elif st.button('Download from Online Databases'): # TODO doc: Explain: analyze abstract
|
62 |
+
|
63 |
|
64 |
|
65 |
|
|
|
|
|
66 |
else:
|
67 |
st.write("Please upload a CSV or TXT file to begin.")
|
68 |
|