Commit
·
992c7ee
1
Parent(s):
9759e5c
remove download button
Browse files
app.py
CHANGED
@@ -183,17 +183,10 @@ def show_result(outputs):
|
|
183 |
df = pd.DataFrame(new_outputs)
|
184 |
st.write(df)
|
185 |
|
186 |
-
#
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
# st.markdown(f"<div style='padding: 5px; border-radius: 5px; background-color: #f0f0f0; margin-bottom: 5px;'>"
|
191 |
-
# f"<strong>{label}:</strong> <span style='color: #007BFF;'>{score}</span></div>",
|
192 |
-
# unsafe_allow_html=True)
|
193 |
-
button_download = st.button("Download as csv")
|
194 |
-
if button_download:
|
195 |
-
df.to_csv("result.csv", index=False)
|
196 |
-
st.success("Result has been downloaded as csv")
|
197 |
|
198 |
|
199 |
if button_submit and pipeline.ready_status:
|
|
|
183 |
df = pd.DataFrame(new_outputs)
|
184 |
st.write(df)
|
185 |
|
186 |
+
# create note if wanna download, hove on top right in table show
|
187 |
+
st.markdown("**Note:** To download the table, hover over the top right corner of the table and click the download button.")
|
188 |
+
|
189 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
|
191 |
|
192 |
if button_submit and pipeline.ready_status:
|