# Hugging Face 发布步骤 本目录可以直接作为 Hugging Face 模型仓库上传。 ```bash pip install -U huggingface_hub hf auth login proxychains -q hf repos create PhoneUIAnchor-829M --repo-type model proxychains -q hf upload lumimate/PhoneUIAnchor-829M . --repo-type model \ --exclude '.cache/**' --exclude '__pycache__/**' ``` 上传后运行在线模型测试: ```bash python inference_example.py \ --model lumimate/PhoneUIAnchor-829M \ --image /path/to/ui_screenshot.png \ --prompt 'Where is the "Settings" element? (Output the center coordinates of the target)' ``` 模型包含 Florence-2 自定义源码,调用方必须使用 `trust_remote_code=True`。