Spaces:
Sleeping
Sleeping
efengx
commited on
Commit
·
def047e
1
Parent(s):
a3ecec7
fix: update
Browse files- app.py +1 -1
- fengx_launch.ipynb +17 -2
app.py
CHANGED
@@ -69,7 +69,7 @@ def render():
|
|
69 |
"isUploadImageFile": False
|
70 |
})
|
71 |
callback(getModel("imageInfo")["tmpUploadImageInfo"])
|
72 |
-
imagePrediction(getModel('
|
73 |
else:
|
74 |
callback(getModel("imageInfo")["tmpUploadImageInfo"])
|
75 |
|
|
|
69 |
"isUploadImageFile": False
|
70 |
})
|
71 |
callback(getModel("imageInfo")["tmpUploadImageInfo"])
|
72 |
+
imagePrediction(getModel('imageInfo')["imageFile"], tmpCallback)
|
73 |
else:
|
74 |
callback(getModel("imageInfo")["tmpUploadImageInfo"])
|
75 |
|
fengx_launch.ipynb
CHANGED
@@ -33,9 +33,24 @@
|
|
33 |
},
|
34 |
{
|
35 |
"cell_type": "code",
|
36 |
-
"execution_count":
|
37 |
"metadata": {},
|
38 |
-
"outputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
"source": [
|
40 |
"# 任务:提交代码到git仓库\n",
|
41 |
"!git push origin main"
|
|
|
33 |
},
|
34 |
{
|
35 |
"cell_type": "code",
|
36 |
+
"execution_count": 6,
|
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), 509 bytes | 509.00 KiB/s, done.\n",
|
48 |
+
"Total 5 (delta 3), reused 0 (delta 0), pack-reused 0\n",
|
49 |
+
"To https://huggingface.co/spaces/rjx/rjxai_image_identification\n",
|
50 |
+
" 0098847..a3ecec7 main -> main\n"
|
51 |
+
]
|
52 |
+
}
|
53 |
+
],
|
54 |
"source": [
|
55 |
"# 任务:提交代码到git仓库\n",
|
56 |
"!git push origin main"
|