Error: No such command "serve_chat".
X:\New folder\Github repos\seq2seq-chatbot\seq2seq-chatbot\models\cornell_movie_dialog\trained_model_v2\trained_model_v2>call C:\ProgramData\Anaconda3\scripts\activate.bat C:\ProgramData\Anaconda3
The system cannot find the path specified.
I'm getting the following error:
X:\New folder\Github repos\seq2seq-chatbot\seq2seq-chatbot\models\cornell_movie_dialog\trained_model_v2\trained_model_v2>cd ..\..\..
X:\New folder\Github repos\seq2seq-chatbot\seq2seq-chatbot\models>set FLASK_APP=chat_web.py
X:\New folder\Github repos\seq2seq-chatbot\seq2seq-chatbot\models>flask serve_chat "models\cornell_movie_dialog\trained_model_v2\best_weights_training.ckpt" -p 8080
Usage: flask [OPTIONS] COMMAND [ARGS]...
Error: No such command "serve_chat".
I installed the required and exact version of dependencies. Still no use. Same issue persists. Please look into it.
sorry, I did a mistake and copied content in a folder one level deeper. My apologies. Now I'm having isssue with chat_ui.html My command window is opening succesfully with http://127.0.0.1:8080/ but It gives me 404 error.
http://localhost:8080/chat_ui.html this too gives me error, adn this one too http://127.0.0.1:8080/chat_ui.html
Can you provide a screenshot?
Thanks
I have copied the weights to the required folder, am I supposed to copy chat_ui.html in it too?
chat_ui.html should be in the root seq2seq-chatbot folder, alongside chat_web.py, chatbot_model.py, and the other python files.
The weights (and batch files) should be under the models folder: seq2seq-chatbot\models\cornell_movie_dialog\trained_model_v2
Same error here, batch files and the weights are under that directory.
@MasterZitron The previous solution worked for me .
@sunn-e what did you do exactly? As I said, the files are in the right place. It might be a config or my firewall not letting me use it.

I think its because its running on 127.0.0.1, how do I change it?
@MasterZitron from your screenshot it looks like your model directory is missing a few required files:
- hparams.json
- shared_vocab.tsv
The chat cannot operate without these two files.
@AbrahamSanders I have both files in my model directory but getting same error.
Having the same problem ..!!!