Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ file = st.file_uploader('Upload an Image',type=(["jpeg","jpg","png"]))
|
|
| 50 |
if file is None:
|
| 51 |
st.write("Please upload an image file")
|
| 52 |
else:
|
| 53 |
-
image= Image.open(
|
| 54 |
st.image(image,use_column_width = True)
|
| 55 |
with NamedTemporaryFile(dir='.', suffix='.csv') as f:
|
| 56 |
f.write(file.getbuffer())
|
|
|
|
| 50 |
if file is None:
|
| 51 |
st.write("Please upload an image file")
|
| 52 |
else:
|
| 53 |
+
image= Image.open(file)
|
| 54 |
st.image(image,use_column_width = True)
|
| 55 |
with NamedTemporaryFile(dir='.', suffix='.csv') as f:
|
| 56 |
f.write(file.getbuffer())
|