Spaces:
Sleeping
Sleeping
Update pages/NeuralAgents.py
Browse files- pages/NeuralAgents.py +4 -0
pages/NeuralAgents.py
CHANGED
@@ -20,6 +20,10 @@ credentials = []
|
|
20 |
server_ports = []
|
21 |
client_ports = []
|
22 |
|
|
|
|
|
|
|
|
|
23 |
async def main():
|
24 |
|
25 |
if "googleAPI" not in st.session_state:
|
|
|
20 |
server_ports = []
|
21 |
client_ports = []
|
22 |
|
23 |
+
# Set up the SQLite database
|
24 |
+
db = sqlite3.connect('chat-hub.db')
|
25 |
+
db.execute('CREATE TABLE IF NOT EXISTS messages (id INTEGER PRIMARY KEY AUTOINCREMENT, sender TEXT, message TEXT, timestamp TEXT)')
|
26 |
+
|
27 |
async def main():
|
28 |
|
29 |
if "googleAPI" not in st.session_state:
|