jinyin3 commited on
Commit
14709fc
·
verified ·
1 Parent(s): 0b83827

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def process_image(image):
20
  infer_api = INFER_API()
21
  score = infer_api.test(image_path)
22
 
23
- return f"{score}" # 返回保存的位置信息
24
 
25
  # 定义输入:一个图片选择框
26
  image_input = gr.components.Image(label="Upload Image", type="pil")
 
20
  infer_api = INFER_API()
21
  score = infer_api.test(image_path)
22
 
23
+ return score # 返回保存的位置信息
24
 
25
  # 定义输入:一个图片选择框
26
  image_input = gr.components.Image(label="Upload Image", type="pil")