Spaces:
Sleeping
Sleeping
change sqlite connection
Browse files
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 |
|