Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def store_text_in_db(user_id, text):
|
|
101 |
new_text_ref = ref.push()
|
102 |
new_text_ref.set({
|
103 |
'text': text,
|
104 |
-
'timestamp':
|
105 |
})
|
106 |
st.success("Text saved successfully!")
|
107 |
except Exception as e:
|
|
|
101 |
new_text_ref = ref.push()
|
102 |
new_text_ref.set({
|
103 |
'text': text,
|
104 |
+
'timestamp': {'.sv': 'timestamp'}
|
105 |
})
|
106 |
st.success("Text saved successfully!")
|
107 |
except Exception as e:
|