vumichien commited on
Commit
bfcea7c
·
1 Parent(s): 91dccbb

Upload Flask app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ import folium
11
  from folium.plugins import MarkerCluster
12
 
13
  # Sử dụng thư mục /tmp để lưu trữ cơ sở dữ liệu SQLite
14
- # DATABASE_URL = "sqlite:///:memory:"
15
- DATABASE_URL = "sqlite:///tmp/database.db"
16
 
17
  engine = create_engine(DATABASE_URL, connect_args={"check_same_thread": False})
18
  SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
 
11
  from folium.plugins import MarkerCluster
12
 
13
  # Sử dụng thư mục /tmp để lưu trữ cơ sở dữ liệu SQLite
14
+ DATABASE_URL = "sqlite:///:memory:"
15
+ # DATABASE_URL = "sqlite:///tmp/database.db"
16
 
17
  engine = create_engine(DATABASE_URL, connect_args={"check_same_thread": False})
18
  SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)