mdanish commited on
Commit
95c4cb6
·
verified ·
1 Parent(s): 1e21484

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -295,6 +295,7 @@ def main():
295
  st.write('Processing panoramic image')
296
  image = process_panorama(image_data['thumb_1024_url'])
297
  image_bytes = BytesIO()
 
298
  image.save(image_bytes, format=image.format)
299
  image = Image.open(image_bytes)
300
  image_bytes = image_bytes.getvalue()
 
295
  st.write('Processing panoramic image')
296
  image = process_panorama(image_data['thumb_1024_url'])
297
  image_bytes = BytesIO()
298
+ st.write('Resaving image size =', image.size, ' image format = ', image.format)
299
  image.save(image_bytes, format=image.format)
300
  image = Image.open(image_bytes)
301
  image_bytes = image_bytes.getvalue()