Spaces:
Sleeping
Sleeping
alexandergagliano
commited on
Commit
·
c66cfda
1
Parent(s):
a323a13
Fix deprecation warning: use_column_width -> use_container_width
Browse files
app.py
CHANGED
|
@@ -760,7 +760,7 @@ def main():
|
|
| 760 |
# Convert to PIL Image for display
|
| 761 |
from PIL import Image
|
| 762 |
img_pil = Image.fromarray((img_stretched * 255).astype(np.uint8))
|
| 763 |
-
st.image(img_pil,
|
| 764 |
except Exception:
|
| 765 |
try:
|
| 766 |
img_array = fetch_ps1_cutout(host['HOST_RA'], host['HOST_DEC'], size_pix=128)
|
|
@@ -770,7 +770,7 @@ def main():
|
|
| 770 |
# Convert to PIL Image for display
|
| 771 |
from PIL import Image
|
| 772 |
img_pil = Image.fromarray((img_stretched * 255).astype(np.uint8))
|
| 773 |
-
st.image(img_pil,
|
| 774 |
except Exception as e:
|
| 775 |
st.error(f"Failed to fetch image: {e}")
|
| 776 |
|
|
|
|
| 760 |
# Convert to PIL Image for display
|
| 761 |
from PIL import Image
|
| 762 |
img_pil = Image.fromarray((img_stretched * 255).astype(np.uint8))
|
| 763 |
+
st.image(img_pil, use_container_width=True)
|
| 764 |
except Exception:
|
| 765 |
try:
|
| 766 |
img_array = fetch_ps1_cutout(host['HOST_RA'], host['HOST_DEC'], size_pix=128)
|
|
|
|
| 770 |
# Convert to PIL Image for display
|
| 771 |
from PIL import Image
|
| 772 |
img_pil = Image.fromarray((img_stretched * 255).astype(np.uint8))
|
| 773 |
+
st.image(img_pil, use_container_width=True)
|
| 774 |
except Exception as e:
|
| 775 |
st.error(f"Failed to fetch image: {e}")
|
| 776 |
|