Skip to content

Commit

Permalink
植物识别fc bad case工程兜底
Browse files Browse the repository at this point in the history
  • Loading branch information
hermitgreen committed Mar 19, 2024
1 parent e80a533 commit d82714d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions appbuilder/core/components/plant_recognize/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ def _recognize_w_post_process(self, img_path, img_url, file_urls):
if img_path in file_urls:
req.url = file_urls[img_path]
if img_url:
if img_url in file_urls:
img_url = file_urls['img_url']
req.url = img_url
req.top_num = 6
req.baike_num = 0
Expand Down

0 comments on commit d82714d

Please sign in to comment.