trminhnam20082002 commited on
Commit
8621811
·
1 Parent(s): b9c9c85

feat: add main menu options and scripts

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -32,8 +32,6 @@ TEXT_2_SQL_API = os.environ.get(
32
 
33
  @st.cache_resource
34
  def load_database():
35
- if os.path.exists("resources/ai_app.db"):
36
- os.remove("resources/ai_app.db")
37
  db_conn = sqlite3.connect("resources/ai_app.db")
38
  with open("resources/schema.sql", "r") as f:
39
  db_conn.executescript(f.read())
 
32
 
33
  @st.cache_resource
34
  def load_database():
 
 
35
  db_conn = sqlite3.connect("resources/ai_app.db")
36
  with open("resources/schema.sql", "r") as f:
37
  db_conn.executescript(f.read())