efengx commited on
Commit
0271310
1 Parent(s): e1e83fc

fix: update

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. fengx_launch.ipynb +2 -9
app.py CHANGED
@@ -69,7 +69,8 @@ def render():
69
  "tmpUploadImageInfo": output, # 存放图片的临时信息
70
  "isUploadImageFile": False
71
  })
72
- callback(getModel("imageInfo")["tmpUploadImageInfo"])
 
73
  imagePrediction(getModel('imageInfo')["imageFile"], tmpCallback)
74
  else:
75
  callback(getModel("imageInfo")["tmpUploadImageInfo"])
 
69
  "tmpUploadImageInfo": output, # 存放图片的临时信息
70
  "isUploadImageFile": False
71
  })
72
+ print("output=", output)
73
+ callback(output)
74
  imagePrediction(getModel('imageInfo')["imageFile"], tmpCallback)
75
  else:
76
  callback(getModel("imageInfo")["tmpUploadImageInfo"])
fengx_launch.ipynb CHANGED
@@ -33,21 +33,14 @@
33
  },
34
  {
35
  "cell_type": "code",
36
- "execution_count": 14,
37
  "metadata": {},
38
  "outputs": [
39
  {
40
  "name": "stdout",
41
  "output_type": "stream",
42
  "text": [
43
- "Enumerating objects: 9, done.\n",
44
- "Counting objects: 100% (9/9), done.\n",
45
- "Delta compression using up to 8 threads\n",
46
- "Compressing objects: 100% (5/5), done.\n",
47
- "Writing objects: 100% (5/5), 681 bytes | 681.00 KiB/s, done.\n",
48
- "Total 5 (delta 4), reused 0 (delta 0), pack-reused 0\n",
49
- "To https://huggingface.co/spaces/rjx/rjxai_image_identification\n",
50
- " 4dcf678..d5b8eea main -> main\n"
51
  ]
52
  }
53
  ],
 
33
  },
34
  {
35
  "cell_type": "code",
36
+ "execution_count": 17,
37
  "metadata": {},
38
  "outputs": [
39
  {
40
  "name": "stdout",
41
  "output_type": "stream",
42
  "text": [
43
+ "Everything up-to-date\n"
 
 
 
 
 
 
 
44
  ]
45
  }
46
  ],