EniasCailliau / GirlfriendGPT

Girlfriend GPT is a Python project to build your own AI girlfriend using ChatGPT4.0
https://gptgirlfriend.online
2.58k stars 435 forks source link

Importing a function from a module listed in the .gitignore file #70

Closed gapizaver closed 1 year ago

gapizaver commented 1 year ago

When i try to run api.py with the latest version (commit 1d57995694caeecdcc47e818a8ab9b0438ddc6c4) I get the following error: Traceback (most recent call last): File "/media/gapi/Disk/projects/python/GirlfriendGPT/src/api.py", line 23, in <module> from utils import clean_text ImportError: cannot import name 'clean_text' from 'utils' (/home/gapi/.local/lib/python3.10/site-packages/utils/__init__.py)

I think the problem is the function is implemented in the utils.py file which is listed in the .gitignore file.

gapizaver commented 1 year ago

Was added with commit f021af05b09eee05ce502b21f1556bb7f65e5251