Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -47,9 +47,10 @@ def sale_pred_batch():
|
|
47 |
|
48 |
# Create response
|
49 |
response = dict(zip(sale_outlets, predicted_sales))
|
|
|
50 |
print("Response:", response)
|
51 |
|
52 |
-
return jsonify(response)
|
53 |
|
54 |
if __name__=='__main__':
|
55 |
super_kart_api.run()
|
|
|
47 |
|
48 |
# Create response
|
49 |
response = dict(zip(sale_outlets, predicted_sales))
|
50 |
+
repshape=dict(zip(input_data.shape,len(predicted_sale)))
|
51 |
print("Response:", response)
|
52 |
|
53 |
+
return jsonify(response) jsonify(repshape)
|
54 |
|
55 |
if __name__=='__main__':
|
56 |
super_kart_api.run()
|