Spaces:
Build error
Build error
Update pages/2_Twitter_GPT_Search.py
Browse files
pages/2_Twitter_GPT_Search.py
CHANGED
@@ -64,6 +64,7 @@ sbert_model_name = st.sidebar.selectbox("Embedding Model", options=list(bi_enc_d
|
|
64 |
with open('tweets.txt') as f:
|
65 |
tweets = f.read()
|
66 |
|
|
|
67 |
def process_tweets(file,embed_model,query):
|
68 |
'''Process file with latest tweets'''
|
69 |
|
|
|
64 |
with open('tweets.txt') as f:
|
65 |
tweets = f.read()
|
66 |
|
67 |
+
@st.experimental_singleton(suppress_st_warning=True)
|
68 |
def process_tweets(file,embed_model,query):
|
69 |
'''Process file with latest tweets'''
|
70 |
|