Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ from dotenv import load_dotenv
|
|
| 13 |
nest_asyncio.apply()
|
| 14 |
|
| 15 |
load_dotenv()
|
| 16 |
-
|
| 17 |
memory_storage = StreamlitChatMessageHistory(key="chat_messages")
|
| 18 |
memory = ConversationBufferWindowMemory(memory_key="chat_history", human_prefix="User", chat_memory=memory_storage, k=3)
|
| 19 |
|
|
@@ -27,7 +27,7 @@ def add_bg_from_local(image_file):
|
|
| 27 |
add_bg_from_local(image_bg)
|
| 28 |
|
| 29 |
#st.header("Welcome")
|
| 30 |
-
|
| 31 |
st.markdown("""
|
| 32 |
<svg width="600" height="100">
|
| 33 |
<text x="50%" y="50%" font-family="San serif" font-size="42px" fill="Black" text-anchor="middle" stroke="white"
|
|
|
|
| 13 |
nest_asyncio.apply()
|
| 14 |
|
| 15 |
load_dotenv()
|
| 16 |
+
st.set_page_config(layout='wide', page_title="MULTIMODAL RAG CHAT")
|
| 17 |
memory_storage = StreamlitChatMessageHistory(key="chat_messages")
|
| 18 |
memory = ConversationBufferWindowMemory(memory_key="chat_history", human_prefix="User", chat_memory=memory_storage, k=3)
|
| 19 |
|
|
|
|
| 27 |
add_bg_from_local(image_bg)
|
| 28 |
|
| 29 |
#st.header("Welcome")
|
| 30 |
+
|
| 31 |
st.markdown("""
|
| 32 |
<svg width="600" height="100">
|
| 33 |
<text x="50%" y="50%" font-family="San serif" font-size="42px" fill="Black" text-anchor="middle" stroke="white"
|