I have even tried reducing the length of data, but it's not working
import requests
import time
import json
with open("Iris.csv") as f:
line = f.readline()
headers = line.strip().split(",")
features = []
for l in f.readlines():
features.append(list(map(lambda x: float(x), l.strip().split(",")\[1:-1\])))
models = ["onnx","pmml","pfa"]
for _ in range(600):
data1 = requests.post("https://axscdfd/score", json={
"models": models,
"x": features,
}, headers={"Authorization": "Bearer abcdefght"}, timeout=(100,100))
print(data1.content)
time.sleep(2)
I tried running this code, and am expecting it to upload the data and print {}