kaarthik108/snowChat

Chain import issue

sureshsinganamala opened this issue · 4 comments

Hi @kaarthik108 @esanketkulkarni, I have followed same steps and able to run the app but getting following error. Can any one please suggest me how to fix?

image

Can you confirm if you have chain.py in same level as main.py? and chain.py has the function load_chain?

Hi @esanketkulkarni, the file locations are proper and you can see it in below images.

image
image

Hi @esanketkulkarni, If I copy chain.py code into main.py then its working for me. Is there any loading file issue?

May I know how you are starting or running main.py? Pycharm or using CLI or any other IDE?