helloperson123 commited on
Commit
c217c8f
·
verified ·
1 Parent(s): 3356cec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -84,9 +84,9 @@ async def ask_ai(request: Request):
84
 
85
  if start != -1 and end != -1:
86
  try:
87
- parsed = json.loads(reply)
88
- reply = parsed.get("response", "")
89
- except json.JSONDecodeError:
90
  reply = ""
91
 
92
 
 
84
 
85
  if start != -1 and end != -1:
86
  try:
87
+ parsed = json.loads(reply)
88
+ reply = parsed.get("response", "")
89
+ except json.JSONDecodeError:
90
  reply = ""
91
 
92