Spaces:
Sleeping
Sleeping
save
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
@@ -76,11 +76,11 @@ st.download_button(
|
|
76 |
)
|
77 |
|
78 |
# Load the files to enable download
|
79 |
-
with open(
|
80 |
model_bytes = f.read()
|
81 |
st.download_button(
|
82 |
label="Download the data (uniques_data.pickle)",
|
83 |
data=model_bytes,
|
84 |
-
file_name="
|
85 |
mime="application/octet-stream"
|
86 |
)
|
|
|
76 |
)
|
77 |
|
78 |
# Load the files to enable download
|
79 |
+
with open(uniques_filename, "rb") as f:
|
80 |
model_bytes = f.read()
|
81 |
st.download_button(
|
82 |
label="Download the data (uniques_data.pickle)",
|
83 |
data=model_bytes,
|
84 |
+
file_name="uniques_data.pickle",
|
85 |
mime="application/octet-stream"
|
86 |
)
|