Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,6 @@ import io
|
|
31 |
import plotly.express as px
|
32 |
import zipfile
|
33 |
import torch
|
34 |
-
from streamlit_extras.stylable_container import stylable_container
|
35 |
|
36 |
|
37 |
|
@@ -125,13 +124,16 @@ if st.button("Scrape Reviews"):
|
|
125 |
|
126 |
st.plotly_chart(fig2)
|
127 |
|
|
|
|
|
|
|
|
|
|
|
128 |
buf = io.BytesIO()
|
129 |
with zipfile.ZipFile(buf, "w") as myzip:
|
130 |
myzip.writestr("Summary of the results.csv", result.to_csv(index=False))
|
131 |
-
|
132 |
-
|
133 |
-
css_styles="""button { background-color: yellow; border: 1px solid black; padding: 5px; color: black; }""",):
|
134 |
-
st.download_button(
|
135 |
label="Download zip file",
|
136 |
data=buf.getvalue(),
|
137 |
file_name="zip_file.zip",
|
|
|
31 |
import plotly.express as px
|
32 |
import zipfile
|
33 |
import torch
|
|
|
34 |
|
35 |
|
36 |
|
|
|
124 |
|
125 |
st.plotly_chart(fig2)
|
126 |
|
127 |
+
|
128 |
+
|
129 |
+
|
130 |
+
|
131 |
+
|
132 |
buf = io.BytesIO()
|
133 |
with zipfile.ZipFile(buf, "w") as myzip:
|
134 |
myzip.writestr("Summary of the results.csv", result.to_csv(index=False))
|
135 |
+
|
136 |
+
st.download_button(
|
|
|
|
|
137 |
label="Download zip file",
|
138 |
data=buf.getvalue(),
|
139 |
file_name="zip_file.zip",
|