AI 生成: 基于AI的酒店推荐系统,集成地图路线与距离显示,使用Flask后端与Leaflet前端。

This commit is contained in:
admin
2026-10-01 15:18:18 +08:00
commit e3579ee139
6 changed files with 254 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# AI Hotel Recommender
基于AI的酒店推荐系统,支持地图查看路线与距离。
## 功能
- 输入目的地、入住日期、预算等条件
- AI推荐酒店列表
- 地图显示酒店位置、路线与距离
## 技术栈
- 后端: Python Flask
- 前端: HTML/CSS/JS, Leaflet, OpenStreetMap
- AI: 简单规则引擎(可替换为真实API)
## 运行
1. 安装依赖: `pip install flask requests`
2. 启动: `python app.py`
3. 访问: http://localhost:5000
## 目录结构
```
ai-hotel-recommender/
├── app.py
├── requirements.txt
├── README.md
├── static/
│ ├── css/style.css
│ └── js/main.js
└── templates/
└── index.html
```