app.py
CHANGED
@@ -94,7 +94,7 @@ 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)
|
100 |
print(response.txt)
|
|
|
94 |
|
95 |
response_json = response.json()
|
96 |
|
97 |
+
if(response_json["choices"] == "") :
|
98 |
print("Start***No choices!!!")
|
99 |
print(response.status_code)
|
100 |
print(response.txt)
|