Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,10 +53,10 @@ else:
|
|
53 |
image= Image.open(f)
|
54 |
st.image(image,use_column_width = True)
|
55 |
with NamedTemporaryFile(dir='.', suffix='.csv') as f:
|
56 |
-
|
57 |
#your_function_which_takes_a_path(f.name)
|
58 |
|
59 |
-
|
60 |
|
61 |
|
62 |
|
|
|
53 |
image= Image.open(f)
|
54 |
st.image(image,use_column_width = True)
|
55 |
with NamedTemporaryFile(dir='.', suffix='.csv') as f:
|
56 |
+
f.write(file.getbuffer())
|
57 |
#your_function_which_takes_a_path(f.name)
|
58 |
|
59 |
+
detect_object(f.name)
|
60 |
|
61 |
|
62 |
|