Upload app.py with huggingface_hub
Browse files
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()
|