Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ if file is None:
|
|
52 |
else:
|
53 |
image= Image.open(file)
|
54 |
st.image(image,use_column_width = True)
|
55 |
-
with NamedTemporaryFile(dir='.', suffix='.
|
56 |
f.write(file.getbuffer())
|
57 |
#your_function_which_takes_a_path(f.name)
|
58 |
|
|
|
52 |
else:
|
53 |
image= Image.open(file)
|
54 |
st.image(image,use_column_width = True)
|
55 |
+
with NamedTemporaryFile(dir='.', suffix='.jpeg') as f:
|
56 |
f.write(file.getbuffer())
|
57 |
#your_function_which_takes_a_path(f.name)
|
58 |
|