Revert "fix(image upload): skip when using the CD_BYPASS_UPLOAD env var"

This reverts commit 384eda63e6fec6977db3f9e9ba655e0db0719578.
This commit is contained in:
EmmanuelMr18 2024-07-07 18:52:21 -06:00
parent 384eda63e6
commit e70a9c5e9e

View File

@ -991,7 +991,7 @@ async def update_run_with_output(prompt_id, data, node_id=None):
"output_data": data
}
if bypass_upload == False:
if not bypass_upload:
try:
have_upload = 'images' in data or 'files' in data or 'gifs' in data or 'mesh' in data
print("\nhave_upload", have_upload, node_id)