Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -65,9 +65,9 @@ def predict():
|
|
65 |
config
|
66 |
)
|
67 |
print("success prediction!")
|
68 |
-
return {
|
69 |
'predictions': predictions
|
70 |
-
}
|
71 |
|
72 |
if __name__ == '__main__':
|
73 |
app.run(host="0.0.0.0", port=7860)
|
|
|
65 |
config
|
66 |
)
|
67 |
print("success prediction!")
|
68 |
+
return jsonify({
|
69 |
'predictions': predictions
|
70 |
+
})
|
71 |
|
72 |
if __name__ == '__main__':
|
73 |
app.run(host="0.0.0.0", port=7860)
|