Skip to content

Commit

Permalink
文生图qps limit时报错
Browse files Browse the repository at this point in the history
  • Loading branch information
hermitgreen committed Mar 10, 2024
1 parent 648cd7d commit 4578508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appbuilder/core/components/text_to_image/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def tool_eval(
'text': result.content['img_urls'][0],
}
except Exception as e:
result = f'绘图时发生错误:{e}'
raise AppBuilderServerException(f'绘图时发生错误:{e}')
if streaming:
yield result
else:
Expand Down

0 comments on commit 4578508

Please sign in to comment.