lengyue233 commited on
Commit
7667657
1 Parent(s): d3adf53
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -141,7 +141,7 @@ def inference(
141
 
142
  if result == "done":
143
  if payload["success"] is False:
144
- return None, build_html_error_message(payload["error"])
145
  break
146
 
147
  codes.append(result)
 
141
 
142
  if result == "done":
143
  if payload["success"] is False:
144
+ return None, build_html_error_message(payload["response"])
145
  break
146
 
147
  codes.append(result)