app.py
CHANGED
@@ -69,7 +69,8 @@ def extract_json(gen_text, response, n_shot_learning=0):
|
|
69 |
end_index = gen_text.find("}\n\n### ")
|
70 |
if(end_index == -1) :
|
71 |
print("Start***No end index!!!")
|
72 |
-
print(response)
|
|
|
73 |
print("End***No end index!!!")
|
74 |
|
75 |
end_index = end_index + 1
|
|
|
69 |
end_index = gen_text.find("}\n\n### ")
|
70 |
if(end_index == -1) :
|
71 |
print("Start***No end index!!!")
|
72 |
+
print(response.status_code)
|
73 |
+
print(response.txt)
|
74 |
print("End***No end index!!!")
|
75 |
|
76 |
end_index = end_index + 1
|