app.py
CHANGED
|
@@ -94,6 +94,9 @@ def score_model(model_uri, databricks_token, prompt):
|
|
| 94 |
|
| 95 |
response_json = response.json()
|
| 96 |
|
|
|
|
|
|
|
|
|
|
| 97 |
if(response_json["choices"] == "") :
|
| 98 |
print("Start***No choices!!!")
|
| 99 |
print(response.status_code)
|
|
|
|
| 94 |
|
| 95 |
response_json = response.json()
|
| 96 |
|
| 97 |
+
print(response.status_code)
|
| 98 |
+
print(response.txt)
|
| 99 |
+
|
| 100 |
if(response_json["choices"] == "") :
|
| 101 |
print("Start***No choices!!!")
|
| 102 |
print(response.status_code)
|