YchKhan commited on
Commit
8b502d9
·
verified ·
1 Parent(s): 0ef5d6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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:]