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

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -297,6 +297,7 @@ def main():
297
  image_bytes = BytesIO()
298
  image.save(image_bytes, format=image.format)
299
  image_bytes = image_bytes.getvalue()
 
300
  else:
301
  response = requests.get(image_data['thumb_1024_url'])
302
  image = Image.open(BytesIO(response.content))
 
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:
302
  response = requests.get(image_data['thumb_1024_url'])
303
  image = Image.open(BytesIO(response.content))