hasnanmr commited on
Commit
b8baef5
·
1 Parent(s): 8a369cb

change sqlite connection

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ client = Groq(
15
  )
16
 
17
 
18
- con = sqlite3.connect("file::memory:?cache=shared")
19
  con.row_factory = sqlite3.Row
20
  cur = con.cursor()
21
 
 
15
  )
16
 
17
 
18
+ con = sqlite3.connect("file::memory:?cache=shared", check_same_thread=False)
19
  con.row_factory = sqlite3.Row
20
  cur = con.cursor()
21