Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ load_dotenv()
|
|
| 17 |
memory_storage = StreamlitChatMessageHistory(key="chat_messages")
|
| 18 |
memory = ConversationBufferWindowMemory(memory_key="chat_history", human_prefix="User", chat_memory=memory_storage, k=3)
|
| 19 |
|
| 20 |
-
image_bg = r"data/pexels-
|
| 21 |
|
| 22 |
def add_bg_from_local(image_file):
|
| 23 |
with open(image_file, "rb") as image_file:
|
|
@@ -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"
|
|
|
|
| 17 |
memory_storage = StreamlitChatMessageHistory(key="chat_messages")
|
| 18 |
memory = ConversationBufferWindowMemory(memory_key="chat_history", human_prefix="User", chat_memory=memory_storage, k=3)
|
| 19 |
|
| 20 |
+
image_bg = r"data/pexels-andreea-ch-371539-1166644.jpg"
|
| 21 |
|
| 22 |
def add_bg_from_local(image_file):
|
| 23 |
with open(image_file, "rb") as image_file:
|
|
|
|
| 27 |
add_bg_from_local(image_bg)
|
| 28 |
|
| 29 |
#st.header("Welcome")
|
| 30 |
+
st.set_page_config(layout='wide', page_title="Virtual Tutor")
|
| 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"
|