简单电影推荐系统

title: 简单电影推荐系统 tags: flask category: python

仓库地址

首先要点击下方链接进入该仓库

本地演示

首先你需要下载本仓库到本地,然后输入以下命令:

py -3 -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python flask_app.py

在线预览

当然,你也可以在网页端直接预览,你只需要在上方 URL 的 https:// 后面添加 gitpod.io/#/

例如:

https://github.com/nginx/nginx => https://gitpod.io/#/github.com/nginx/nginx

此时你应该可以看到一个 VS Code 界面的编辑器,在终端中输入以下命令:

pip install -r requirements.txt
python flask_app.py

由于该算法没有保存模型,所以每次预测都要重新计算,导致程序运行时间长。并且在部署到公共端时,还会报错,错误如下:

Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application

参考资料

Original: https://blog.csdn.net/tiantianzs/article/details/124687486
Author: 宁静_致远_
Title: 简单电影推荐系统

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/745821/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球