Spaces:
Sleeping

doluong6 commited on
Commit
9bc97e4
·
verified ·
1 Parent(s): 7bbd99e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,7 @@ os.environ["HF_HUB_CACHE"] = "/tmp/hf_cache"
5
  os.makedirs("/tmp/hf_cache", exist_ok=True)
6
 
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 # 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
 
11
  app = FastAPI()
@@ -27,6 +27,7 @@ app.include_router(doanh_thu_tong.router)
27
  app.include_router(doanh_thu_noi_bo.router)
28
  app.include_router(tai_pdf.router)
29
  app.include_router(danh_sach_pdf.router)
 
30
  @app.get("/")
31
  def root():
32
  return {"message": "✅ Backend is running"}
 
5
  os.makedirs("/tmp/hf_cache", exist_ok=True)
6
 
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 # 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
 
11
  app = FastAPI()
 
27
  app.include_router(doanh_thu_noi_bo.router)
28
  app.include_router(tai_pdf.router)
29
  app.include_router(danh_sach_pdf.router)
30
+ app.include_router(quy_trinh.router)
31
  @app.get("/")
32
  def root():
33
  return {"message": "✅ Backend is running"}