paleDriver7 commited on
Commit
1fee8a1
1 Parent(s): 0919392

Update backend/app.py

Browse files
Files changed (1) hide show
  1. backend/app.py +4 -4
backend/app.py CHANGED
@@ -14,14 +14,14 @@ CORS(app)
14
  llama3_model = LlaMa3()
15
 
16
  # 检验响应可用
17
- @app.route("/")
18
- def health_check():
19
- return "Service is running!", 200
20
 
21
  @app.route('/')
22
  def index():
23
  # 返回 HTML 页面
24
- return render_template('index.html')
25
 
26
  @app.route('/chat', methods=['POST'])
27
  def chat():
 
14
  llama3_model = LlaMa3()
15
 
16
  # 检验响应可用
17
+ #@app.route("/")
18
+ #def health_check():
19
+ # return "Service is running!", 200
20
 
21
  @app.route('/')
22
  def index():
23
  # 返回 HTML 页面
24
+ return render_template('index_s.html')
25
 
26
  @app.route('/chat', methods=['POST'])
27
  def chat():