app.py
CHANGED
@@ -95,12 +95,12 @@ def score_model(model_uri, databricks_token, prompt):
|
|
95 |
response_json = response.json()
|
96 |
|
97 |
print(response.status_code)
|
98 |
-
print(response.
|
99 |
|
100 |
if(response_json["choices"] == "") :
|
101 |
print("Start***No choices!!!")
|
102 |
print(response.status_code)
|
103 |
-
print(response.
|
104 |
print("End***No choices!!!")
|
105 |
|
106 |
return response_json
|
|
|
95 |
response_json = response.json()
|
96 |
|
97 |
print(response.status_code)
|
98 |
+
print(response.text)
|
99 |
|
100 |
if(response_json["choices"] == "") :
|
101 |
print("Start***No choices!!!")
|
102 |
print(response.status_code)
|
103 |
+
print(response.text)
|
104 |
print("End***No choices!!!")
|
105 |
|
106 |
return response_json
|