nikhmr1235 commited on
Commit
501e076
·
verified ·
1 Parent(s): 8c22b31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ global_memory_saver = None # Initialize to None
69
  try:
70
  # Attempt to connect to SQLite
71
  # Ensure the directory exists (though /data usually exists)
72
- os.makedirs(os.path.dirname(SQLITE_DB_PATH), exist_ok=True)
73
 
74
  # Use check_same_thread=False for Gradio/web apps that might access the DB from different threads
75
  conn = sqlite3.connect(SQLITE_DB_PATH, check_same_thread=False)
 
69
  try:
70
  # Attempt to connect to SQLite
71
  # Ensure the directory exists (though /data usually exists)
72
+ #os.makedirs(os.path.dirname(SQLITE_DB_PATH), exist_ok=True)
73
 
74
  # Use check_same_thread=False for Gradio/web apps that might access the DB from different threads
75
  conn = sqlite3.connect(SQLITE_DB_PATH, check_same_thread=False)