Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,7 @@ async def find_solutions(requirements: ReqGroupingResponse):
|
|
129 |
try:
|
130 |
# Remove code blocks if present
|
131 |
cleaned = llm_response.strip()
|
132 |
-
if cleaned.startswith('```
|
133 |
cleaned = cleaned[7:]
|
134 |
if cleaned.startswith('```'):
|
135 |
cleaned = cleaned[3:]
|
|
|
129 |
try:
|
130 |
# Remove code blocks if present
|
131 |
cleaned = llm_response.strip()
|
132 |
+
if cleaned.startswith('```json'):
|
133 |
cleaned = cleaned[7:]
|
134 |
if cleaned.startswith('```'):
|
135 |
cleaned = cleaned[3:]
|