<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>健康咨询智能问答</title>
</head>
<body style="background-color: #f0f0f0;">
<h1>健康咨询智能问答</h1>
<form action="/ask" method="post">
<label for="user_input">输入问题:</label>
<input type="text" id="user_input" name="user_input" required>
<button type="submit">提交</button>
</form>
{% if user_input %}
<h2>用户输入:</h2>
<p>{{ user_input }}</p>
{% if answer %}
<h2>模型回答:</h2>
<p>{{ answer }}</p>
{% endif %}
{% endif %}
</body>
</html>
简单抽象版本
最新推荐文章于 2025-10-28 16:10:20 发布
853

被折叠的 条评论
为什么被折叠?



