Spaces:
Sleeping
Sleeping
zhijian12345
commited on
Commit
·
7c36eb0
1
Parent(s):
f68f6be
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ model_info = """
|
|
17 |
"""
|
18 |
|
19 |
# 加载图像分类模型
|
20 |
-
checkpoint_dir = "
|
21 |
classifier = pipeline("image-classification", model=checkpoint_dir) # 创建图像分类器模型
|
22 |
vitclassifier = pipeline("image-classification",model="google/vit-base-patch16-224")
|
23 |
|
|
|
17 |
"""
|
18 |
|
19 |
# 加载图像分类模型
|
20 |
+
checkpoint_dir = "zhijian12345/checkpoint-905" # 模型检查点目录
|
21 |
classifier = pipeline("image-classification", model=checkpoint_dir) # 创建图像分类器模型
|
22 |
vitclassifier = pipeline("image-classification",model="google/vit-base-patch16-224")
|
23 |
|