Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing --file option in run.py #1

Closed
tmayberry opened this issue Aug 25, 2023 · 1 comment
Closed

Missing --file option in run.py #1

tmayberry opened this issue Aug 25, 2023 · 1 comment

Comments

@tmayberry
Copy link

tmayberry commented Aug 25, 2023

Thanks for sharing this code with everyone! The documentation says that you can run it against a file using the --file option but that seems to be missing in run.py. There are also a couple other small errors that popped up trying to get this to run. If there is an openai.config file in the directory, it tries to load a hardcoded version of it from a specific home directory instead of the one in the local directory. It also tries to read a file called best_features.txt from the model directory which doesn't exist (I copied features.txt to this name and it seems to have fixed it).

Edit: I see it is actually just a documentation issue, the right program should be classify.py.

@vivek3141
Copy link
Owner

Hi, sorry! I was in process of reformatting a lot of the code. I'll work on fixing the README, thanks for bringing it up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants