File size: 400 Bytes
2a97c34
 
 
 
 
 
 
 
 
153efb4
2a97c34
 
 
 
153efb4
2a97c34
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- coding: utf-8 -*-

import requests

data = [
        {"CUST_NBR":"1111",
         "MENU_TYP_DESC":"MEXICAN",
         "PYR_SEG_CD":"Education",
         "DIV_NBR":"20",
         "WKLY_ORDERS": 15,
         "PERC_EB":0.80,
         "AVG_WKLY_SALES":2656.04,
         "AVG_WKLY_CASES":67.00}]

response = requests.post("https://dkondic-ml-api.hf.space/predict", json=data)
print(response.json())