Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,6 +36,7 @@ def upsert(text):
|
|
36 |
doc_ref = db.collection('Text2SpeechSentimentSave').document('Text2SpeechSentimentSave')
|
37 |
doc_ref.set({u'firefield': date_time, u'first': 'Text2SpeechSentimentSave', u'last': text, u'born': date_time,})
|
38 |
saved = select('Text2SpeechSentimentSave','Text2SpeechSentimentSave')
|
|
|
39 |
return saved
|
40 |
|
41 |
def select(collection, document):
|
|
|
36 |
doc_ref = db.collection('Text2SpeechSentimentSave').document('Text2SpeechSentimentSave')
|
37 |
doc_ref.set({u'firefield': date_time, u'first': 'Text2SpeechSentimentSave', u'last': text, u'born': date_time,})
|
38 |
saved = select('Text2SpeechSentimentSave','Text2SpeechSentimentSave')
|
39 |
+
# check it here: https://console.firebase.google.com/u/0/project/clinical-nlp-b9117/firestore/data/~2FStreamlitSpaces
|
40 |
return saved
|
41 |
|
42 |
def select(collection, document):
|