Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -241,11 +241,11 @@ def main():
|
|
241 |
if uploaded_file is not None:
|
242 |
# Load and display the image
|
243 |
image = Image.open(uploaded_file)
|
244 |
-
c1.image(image, width=
|
245 |
|
246 |
elif selected_jpg != 'None':
|
247 |
image = Image.open(selected_jpg)
|
248 |
-
c1.image(image, width=
|
249 |
|
250 |
else:
|
251 |
c1.write("Please upload an image.")
|
@@ -256,9 +256,9 @@ def main():
|
|
256 |
|
257 |
c2.markdown("<br><br><br><br><br><br><br><br><br><br><br><br><br><br>", unsafe_allow_html=True)
|
258 |
|
259 |
-
tab1.image(imagen1, width=
|
260 |
-
tab2.image(imagen2, width=
|
261 |
-
tab3.image(imagen3, width=
|
262 |
tab4.table(partes)
|
263 |
|
264 |
elif page == "Under Construction":
|
|
|
241 |
if uploaded_file is not None:
|
242 |
# Load and display the image
|
243 |
image = Image.open(uploaded_file)
|
244 |
+
c1.image(image, width=450, caption="Uploaded image")
|
245 |
|
246 |
elif selected_jpg != 'None':
|
247 |
image = Image.open(selected_jpg)
|
248 |
+
c1.image(image, width=450, caption="Uploaded image")
|
249 |
|
250 |
else:
|
251 |
c1.write("Please upload an image.")
|
|
|
256 |
|
257 |
c2.markdown("<br><br><br><br><br><br><br><br><br><br><br><br><br><br>", unsafe_allow_html=True)
|
258 |
|
259 |
+
tab1.image(imagen1, width=450)
|
260 |
+
tab2.image(imagen2, width=450)
|
261 |
+
tab3.image(imagen3, width=450)
|
262 |
tab4.table(partes)
|
263 |
|
264 |
elif page == "Under Construction":
|