Spaces:
Sleeping
Sleeping
save
Browse files- src/streamlit_app.py +4 -0
src/streamlit_app.py
CHANGED
@@ -61,6 +61,10 @@ uniques_filename = os.path.join(output_dir, "uniques_data.pickle")
|
|
61 |
with open(uniques_filename, "wb") as output_pickle:
|
62 |
pickle.dump(uniques, output_pickle)
|
63 |
|
|
|
|
|
|
|
|
|
64 |
# Load the files to enable download
|
65 |
with open(model_filename, "rb") as f:
|
66 |
model_bytes = f.read()
|
|
|
61 |
with open(uniques_filename, "wb") as output_pickle:
|
62 |
pickle.dump(uniques, output_pickle)
|
63 |
|
64 |
+
|
65 |
+
st.write("Model saved to {}".format(model_filename)
|
66 |
+
st.writ("Click below to download the model."))
|
67 |
+
|
68 |
# Load the files to enable download
|
69 |
with open(model_filename, "rb") as f:
|
70 |
model_bytes = f.read()
|