Spaces:
Runtime error
Runtime error
Update app.py
Browse files180 unmodified lines181182183184185186187180 unmodified linesresult = completion.choices[0].message.content# Try to extract JSON if presentif '{"Rewritten"' in result:try:# Clean up the responseresult = result.replace('```json', '').replace('```', '')180 unmodified lines181182183184185186187180 unmodified linesresult = completion.choices[0].message.content# Try to extract JSON if presentif '"Rewritten"' in result:try:# Clean up the responseresult = result.replace('```json', '').replace('```', '')
app.py+1-1