Spaces:
Sleeping
Sleeping
Update analyzer.py
Browse files- analyzer.py +1 -0
analyzer.py
CHANGED
@@ -32,6 +32,7 @@ def analyze_code(code: str) -> str:
|
|
32 |
def parse_llm_json_response(response: str):
|
33 |
try:
|
34 |
# Extract only the substring between the first '{' and the last '}'
|
|
|
35 |
start = response.find('{')
|
36 |
end = response.rfind('}')
|
37 |
if start != -1 and end != -1 and end > start:
|
|
|
32 |
def parse_llm_json_response(response: str):
|
33 |
try:
|
34 |
# Extract only the substring between the first '{' and the last '}'
|
35 |
+
print("DEBUGGGGG ::: ",response)
|
36 |
start = response.find('{')
|
37 |
end = response.rfind('}')
|
38 |
if start != -1 and end != -1 and end > start:
|