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

Demo: running on local machine from code in repo #13

Open
anshuiisc opened this issue Dec 2, 2020 · 1 comment
Open

Demo: running on local machine from code in repo #13

anshuiisc opened this issue Dec 2, 2020 · 1 comment

Comments

@anshuiisc
Copy link

anshuiisc commented Dec 2, 2020

I am trying to run the demo on my machine w/o any re-training on the model.

Running server.py is giving the following error:

Single field exception: extract_bag_of_characters_features() takes 1 positional argument but 2 were given
[2020-12-02 19:06:13,092] ERROR in app: Exception on /predict [POST]

Also, I found that there are 2 files predict and predict_old.py in demo. Which one we are supposed to use?
Thanks

@horseno
Copy link
Collaborator

horseno commented Mar 24, 2021

We are happy to help if you provide more information for us to reproduce the error, or you could try the online demo first.
Please see predict.py, the other file is deprecated.

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