Spaces:
Sleeping

doluong6 commited on
Commit
cbf3186
·
verified ·
1 Parent(s): b350019

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,7 +7,7 @@ os.makedirs("/tmp/hf_cache", exist_ok=True)
7
  from fastapi import FastAPI
8
  from routes import dem_pyc, tong_doanh_thu_pyc, dem_pyc_hoan_thanh, doanh_thu_theo_thang, doanh_thu_dich_vu, tai_pdf, danh_sach_pdf, quy_trinh, danh_muc_thiet_bi # hoặc import từ file dem_pyc nếu không có thư mục routes
9
  from routes import ds_pyc_tat_ca, ds_pyc_hoan_thanh, doanh_thu_chi_tiet, pyc_chua_hoan_thanh, ty_le_dich_vu, doanh_thu_tong_hop, ds_pyc_cho_xu_ly, doanh_thu_tong, doanh_thu_noi_bo
10
- from routes import cap_nhat_hoa_chat, quan_ly_hoa_chat
11
  app = FastAPI()
12
 
13
 
@@ -31,6 +31,7 @@ app.include_router(quy_trinh.router)
31
  app.include_router(danh_muc_thiet_bi.router)
32
  app.include_router(cap_nhat_hoa_chat.router)
33
  app.include_router(quan_ly_hoa_chat.router)
 
34
  @app.get("/")
35
  def root():
36
  return {"message": "✅ Backend is running"}
 
7
  from fastapi import FastAPI
8
  from routes import dem_pyc, tong_doanh_thu_pyc, dem_pyc_hoan_thanh, doanh_thu_theo_thang, doanh_thu_dich_vu, tai_pdf, danh_sach_pdf, quy_trinh, danh_muc_thiet_bi # hoặc import từ file dem_pyc nếu không có thư mục routes
9
  from routes import ds_pyc_tat_ca, ds_pyc_hoan_thanh, doanh_thu_chi_tiet, pyc_chua_hoan_thanh, ty_le_dich_vu, doanh_thu_tong_hop, ds_pyc_cho_xu_ly, doanh_thu_tong, doanh_thu_noi_bo
10
+ from routes import cap_nhat_hoa_chat, quan_ly_hoa_chat, gui_canh_bao_hoa_chat
11
  app = FastAPI()
12
 
13
 
 
31
  app.include_router(danh_muc_thiet_bi.router)
32
  app.include_router(cap_nhat_hoa_chat.router)
33
  app.include_router(quan_ly_hoa_chat.router)
34
+ app.include_router(gui_canh_bao_hoa_chat.router)
35
  @app.get("/")
36
  def root():
37
  return {"message": "✅ Backend is running"}