Update app.py
Browse files144 unmodified lines14514614714814915015115216 unmodified lines169170171172173174175144 unmodified lineswith open(local_file_name, "w") as f:json.dump(data, f)upload_to_s3(local_file_name, 'altair.storage', object_name=f"ootb/{local_file_name}")upload_to_s3(image_path, 'altair.storage', object_name=f"ootb/{os.path.basename(image_path)}")return data16 unmodified lineswith open(local_file_name, "w") as f:json.dump(data, f)upload_to_s3(local_file_name, 'altair.storage', object_name=f"ootb/{local_file_name}")return f"Your {vote_type} has been recorded. Thank you!"144 unmodified lines14514614714814915015115216 unmodified lines169170171172173174175144 unmodified lineswith open(local_file_name, "w") as f:json.dump(data, f)upload_to_s3(local_file_name, 'altair.storage', object_name=f"ootb/images/{local_file_name}")upload_to_s3(image_path, 'altair.storage', object_name=f"ootb/images/{os.path.basename(image_path)}")return data16 unmodified lineswith open(local_file_name, "w") as f:json.dump(data, f)upload_to_s3(local_file_name, 'altair.storage', object_name=f"ootb/images/{local_file_name}")return f"Your {vote_type} has been recorded. Thank you!"
app.py+3-3