Spaces:
Runtime error
Runtime error
Commit
·
ed6af97
1
Parent(s):
c7b2a81
Update app.py
Browse files
app.py
CHANGED
|
@@ -107,7 +107,7 @@ else:
|
|
| 107 |
image = Image.open(file)
|
| 108 |
st.write("Input Image")
|
| 109 |
st.image(image, use_column_width=True)
|
| 110 |
-
with NamedTemporaryFile(dir='.', suffix='.'
|
| 111 |
f.write(file.getbuffer())
|
| 112 |
# your_function_which_takes_a_path(f.name)
|
| 113 |
detect_objects(f.name)
|
|
|
|
| 107 |
image = Image.open(file)
|
| 108 |
st.write("Input Image")
|
| 109 |
st.image(image, use_column_width=True)
|
| 110 |
+
with NamedTemporaryFile(dir='.', suffix='.') as f:
|
| 111 |
f.write(file.getbuffer())
|
| 112 |
# your_function_which_takes_a_path(f.name)
|
| 113 |
detect_objects(f.name)
|