debisoft commited on
Commit
0e3ad57
·
1 Parent(s): 7004179
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def score_model(model_uri, databricks_token, data):
17
  "Content-Type": "application/json",
18
  }
19
  data_json = json.dumps({"dataframe_split": {"index": [0], "columns": ["prompt", "temperature", "max_tokens"], "data": [[data, 0.5, 500]]}})
20
- print("data_json: ")
21
 
22
  print(data_json)
23
  response = requests.request(method='POST', headers=headers, url=model_uri, json=data_json)
 
17
  "Content-Type": "application/json",
18
  }
19
  data_json = json.dumps({"dataframe_split": {"index": [0], "columns": ["prompt", "temperature", "max_tokens"], "data": [[data, 0.5, 500]]}})
20
+ print("***data_json: ")
21
 
22
  print(data_json)
23
  response = requests.request(method='POST', headers=headers, url=model_uri, json=data_json)