Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def predict_object():
|
|
| 17 |
# Receive image file from frontend
|
| 18 |
image_file = request.files['image']
|
| 19 |
|
| 20 |
-
image_path = os.path.join(
|
| 21 |
image_file.save(image_path)
|
| 22 |
|
| 23 |
try:
|
|
|
|
| 17 |
# Receive image file from frontend
|
| 18 |
image_file = request.files['image']
|
| 19 |
|
| 20 |
+
image_path = os.path.join('predict_image', image_file.filename)
|
| 21 |
image_file.save(image_path)
|
| 22 |
|
| 23 |
try:
|