Spaces:
Runtime error
Runtime error
Great Example - Thanks for Docker!
#2
by
awacke1
- opened
This is a pretty good example. If you work through the documentation the section on creating the Dockerfile initially doesnt work as written. https://huggingface.co/docs/hub/spaces-sdks-docker-first-demo It works in this example however which has Dockerfile app reference correct.
This line in the documentation:
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
should be:
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
Cheers -- Aaron