pinecone-io / canopy

Retrieval Augmented Generation (RAG) framework and context engine powered by Pinecone
https://www.pinecone.io/
Apache License 2.0
976 stars 121 forks source link

ModuleNotFoundError: No module named 'canopy_cli.app' #255

Closed kowshik24 closed 10 months ago

kowshik24 commented 10 months ago

Is this a new bug?

Current Behavior

The gunicorn app name is incoreect may: gunicorn canopy_cli.app:app --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000 --workers

Expected Behavior

gunicorn canopy_server.app:app --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000 --workers

Steps To Reproduce

  1. change the gunicorn canopy_cli.app:app --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000 --workers
  2. To gunicorn canopy_server.app:app --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000 --workers

Relevant log output

ModuleNotFoundError: No module named 'canopy_cli.app'

Environment

- **OS**: Ubuntu 20.04.6
- **Language version**: python3.10
- **Canopy version**: canopy-sdk==0.6.0

Additional Context

gunicorn canopy_cli.app:app --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000 --workers

miararoy commented 10 months ago

hi @kowshik24 thanks for flagging, fixed!

miararoy commented 10 months ago

closing this