【文件属性】:
文件名称:Chatbot-Python:AI Chatbot Python
文件大小:312KB
文件格式:ZIP
更新时间:2021-04-09 02:29:19
Python
AI Chatbot Python
通过Heroku将简单的Flask应用程序部署到云中
安装依赖
python --version
pip install -r requirements.txt
or
pip list
pip install flask
pip uninstall flask
pip show flask
训练模型
python train_chatbot.py
运行服务器
python app.py
您应该能够通过熟悉的调用并访问在自己的系统上运行此应用程序。
在部署
python --version
pyenv versions
pyenv install --list
pyenv install 3.8.3
pyenv local 3.8.3
python --version
参考
和
【文件预览】:
Chatbot-Python-main
----classes.pkl(670B)
----.gitignore(1KB)
----train_chatbot.py(3KB)
----templates()
--------index.html(2KB)
----requirements.txt(125B)
----chatbot_model.h5(350KB)
----nltk.txt(13B)
----chatgui.py(4KB)
----intents.json(42KB)
----static()
--------jquery.min.js(85KB)
--------style.css(4KB)
----runtime.txt(13B)
----README.md(1KB)
----words.pkl(2KB)
----ChatbotPython.postman_collection.json(3KB)
----app.py(4KB)
----.gitattributes(66B)