Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ from langchain_community.chat_message_histories import StreamlitChatMessageHisto
|
|
12 |
|
13 |
memory_storage = StreamlitChatMessageHistory(key="chat_messages")
|
14 |
memory = ConversationBufferWindowMemory(memory_key="chat_history", human_prefix="User", chat_memory=memory_storage, k=3)
|
15 |
-
image_bg = "data
|
16 |
|
17 |
def add_bg_from_local(image_file):
|
18 |
with open(image_file, "rb") as image_file:
|
|
|
12 |
|
13 |
memory_storage = StreamlitChatMessageHistory(key="chat_messages")
|
14 |
memory = ConversationBufferWindowMemory(memory_key="chat_history", human_prefix="User", chat_memory=memory_storage, k=3)
|
15 |
+
image_bg = r"data/image/freepik-export-20240425023906eVmL.jpeg"
|
16 |
|
17 |
def add_bg_from_local(image_file):
|
18 |
with open(image_file, "rb") as image_file:
|