Closed zhizhuaa closed 6 hours ago
This is my first time using huggingface.
I couldn't find specific information about integrating Hugging Face models with Dify in the available data. However, there are some known issues and limitations with Dify version 0.10.2 when deploying models locally. Here are some general troubleshooting steps that might help:
Check Network Configuration: Ensure that the Dify container can access the Hugging Face API. If you're using Docker, make sure the network settings allow for external API calls.
Verify API Keys: Double-check that your Hugging Face API keys are correctly configured and have the necessary permissions.
Inspect Docker Logs: Check the logs of your Docker containers for any error messages that might provide more insight into the issue.
Cross-Domain Issues: If you encounter cross-domain issues, ensure that your domain configurations in docker-compose.yml
are correct.
Port Conflicts: Make sure there are no port conflicts that might be preventing the service from running properly.
If these steps don't resolve the issue, you might want to look into similar discussions or issues in the Dify repository for more context. For example, there are discussions about connection errors and deployment failures that might provide additional insights [1][2].
To continue talking to Dosu, mention @dosu.
Please make sure you can access huggingface endpoint correctly.
Self Checks
Dify version
0.10.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
The following error occurred when I followed https://docs.dify.ai/zh-hans/development/models-integration/hugging-face to access the model from the community edition web page deployed via Docker Compose
Looking forward to your reply.
✔️ Expected Behavior
successfully access the model.
❌ Actual Behavior
The following error occurred when I followed https://docs.dify.ai/zh-hans/development/models-integration/hugging-face to access the model from the community edition web page deployed via Docker Compose
Looking forward to your reply.