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

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -296,6 +296,7 @@ def main():
296
  image = process_panorama(image_data['thumb_1024_url'])
297
  image_bytes = BytesIO()
298
  image.save(image_bytes, format=image.format)
 
299
  image_bytes = image_bytes.getvalue()
300
  st.write('Panoramic image size = ', image.size, ' format = ', image.format)
301
  else:
 
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()
301
  st.write('Panoramic image size = ', image.size, ' format = ', image.format)
302
  else: