Spaces:
Runtime error
Runtime error
rohithk-03
commited on
Commit
·
f47808e
1
Parent(s):
7dc12c9
update model code
Browse files
app.py
CHANGED
@@ -232,7 +232,7 @@ def predict():
|
|
232 |
image_save_path = os.path.join(
|
233 |
tempfile.gettempdir(), file.filename.lower())
|
234 |
image.save(image_save_path)
|
235 |
-
a, b = model.check_file(temp_path)
|
236 |
return jsonify({"message": a, "confidence": b, "saved_path": image_save_path})
|
237 |
|
238 |
|
|
|
232 |
image_save_path = os.path.join(
|
233 |
tempfile.gettempdir(), file.filename.lower())
|
234 |
image.save(image_save_path)
|
235 |
+
a, b = model.check_file(temp_path)
|
236 |
return jsonify({"message": a, "confidence": b, "saved_path": image_save_path})
|
237 |
|
238 |
|