diff --git a/examples/chat/app.py b/examples/chat/app.py index 2069218b..d77df9b7 100644 --- a/examples/chat/app.py +++ b/examples/chat/app.py @@ -147,7 +147,7 @@ def main(): f.write(uploaded_file.getbuffer()) # make it None so it wont load and overwrite the image - artifacts.artifacts[uploaded_file.name] = None + artifacts.artifacts[uploaded_file.name] = open(WORKSPACE / uploaded_file.name, "rb").read() for file in WORKSPACE.iterdir(): if "__pycache__" not in str(file) and not str(file).startswith("."):