Spaces:
Sleeping
Sleeping
Update app.py
Browse files23 unmodified lines24252627282923 unmodified linesdata = json.loads(model_output) # Try parsing the model outputexcept json.JSONDecodeError:return model_output # Return raw model output if it's not valid JSON# if amount:# try:23 unmodified lines2425262728293023 unmodified linesdata = json.loads(model_output) # Try parsing the model outputexcept json.JSONDecodeError:return model_output # Return raw model output if it's not valid JSONdata["amount"] = amount# if amount:# try:
app.py+1