Spaces:
Sleeping
Sleeping
Update utils/mistral.py
Browse files- utils/mistral.py +3 -1
utils/mistral.py
CHANGED
@@ -109,6 +109,7 @@ def Model_ProfessionalDetails_Output(resume, client):
|
|
109 |
|
110 |
try:
|
111 |
clean_response = Data_Cleaner(response)
|
|
|
112 |
parsed_response = json.loads(clean_response)
|
113 |
except json.JSONDecodeError as e:
|
114 |
logging.error(f"JSON Decode Error: {e}")
|
@@ -148,6 +149,7 @@ def Model_EducationalDetails_Output(resume, client):
|
|
148 |
|
149 |
try:
|
150 |
clean_response = Data_Cleaner(response)
|
|
|
151 |
parsed_response = json.loads(clean_response)
|
152 |
except json.JSONDecodeError as e:
|
153 |
logging.error(f"JSON Decode Error: {e}")
|
@@ -191,7 +193,7 @@ def Model_PersonalDetails_Output(resume, client):
|
|
191 |
try:
|
192 |
#print('The Og response:-->',response)
|
193 |
clean_response=Data_Cleaner(response)
|
194 |
-
|
195 |
parsed_response = json.loads(clean_response)
|
196 |
|
197 |
except json.JSONDecodeError as e:
|
|
|
109 |
|
110 |
try:
|
111 |
clean_response = Data_Cleaner(response)
|
112 |
+
print("This is clean_response data ",clean_response)
|
113 |
parsed_response = json.loads(clean_response)
|
114 |
except json.JSONDecodeError as e:
|
115 |
logging.error(f"JSON Decode Error: {e}")
|
|
|
149 |
|
150 |
try:
|
151 |
clean_response = Data_Cleaner(response)
|
152 |
+
print("This is clean_response data ",clean_response)
|
153 |
parsed_response = json.loads(clean_response)
|
154 |
except json.JSONDecodeError as e:
|
155 |
logging.error(f"JSON Decode Error: {e}")
|
|
|
193 |
try:
|
194 |
#print('The Og response:-->',response)
|
195 |
clean_response=Data_Cleaner(response)
|
196 |
+
print("This is clean_response data ",clean_response)
|
197 |
parsed_response = json.loads(clean_response)
|
198 |
|
199 |
except json.JSONDecodeError as e:
|