Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,16 @@ from langchain.embeddings import OpenAIEmbeddings
|
|
| 8 |
from langchain.vectorstores import FAISS
|
| 9 |
from langchain.memory import ConversationBufferMemory
|
| 10 |
import re
|
|
|
|
|
|
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
# Initialize the Streamlit app
|
| 13 |
-
st.title('Document-Based Q&A System')
|
| 14 |
|
|
|
|
| 8 |
from langchain.vectorstores import FAISS
|
| 9 |
from langchain.memory import ConversationBufferMemory
|
| 10 |
import re
|
| 11 |
+
def main():
|
| 12 |
+
st.title('Simple Streamlit App')
|
| 13 |
|
| 14 |
+
st.write("Welcome to our simple static Streamlit application!")
|
| 15 |
+
|
| 16 |
+
if st.button('Click me!'):
|
| 17 |
+
st.write('Thanks for clicking!')
|
| 18 |
+
|
| 19 |
+
if __name__ == "__main__":
|
| 20 |
+
main()
|
| 21 |
# Initialize the Streamlit app
|
| 22 |
+
# st.title('Document-Based Q&A System')
|
| 23 |
|