Spaces:
Build error
Build error
Update pages/2_Twitter_GPT_Search.py
Browse files
pages/2_Twitter_GPT_Search.py
CHANGED
|
@@ -21,13 +21,9 @@ from langchain.schema import (
|
|
| 21 |
|
| 22 |
from datetime import datetime as dt
|
| 23 |
|
| 24 |
-
st.set_page_config(page_title="Tweets Question/Answering with Langchain and OpenAI", page_icon="π")
|
| 25 |
-
|
| 26 |
|
| 27 |
if 'tlist' not in st.session_state:
|
| 28 |
st.session_state['tlist'] = ''
|
| 29 |
-
|
| 30 |
-
|
| 31 |
|
| 32 |
system_template="""Use the following pieces of context to answer the users question.
|
| 33 |
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
|
|
|
| 21 |
|
| 22 |
from datetime import datetime as dt
|
| 23 |
|
|
|
|
|
|
|
| 24 |
|
| 25 |
if 'tlist' not in st.session_state:
|
| 26 |
st.session_state['tlist'] = ''
|
|
|
|
|
|
|
| 27 |
|
| 28 |
system_template="""Use the following pieces of context to answer the users question.
|
| 29 |
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|