Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,11 +12,23 @@ from gtts import gTTS
|
|
12 |
from io import BytesIO
|
13 |
st.set_page_config(page_title="PeacePal")
|
14 |
#image to the sidebar
|
15 |
-
image_path = os.path.join('images', 'sidebar.jpg')
|
16 |
-
st.sidebar.image(image_path, use_column_width=True)
|
17 |
|
18 |
st.title('PeacePal 🌱')
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
mdl = ModelPipeLine()
|
21 |
# Now you can access the retriever attribute of the ModelPipeLine instance
|
22 |
retriever = mdl.retriever
|
|
|
12 |
from io import BytesIO
|
13 |
st.set_page_config(page_title="PeacePal")
|
14 |
#image to the sidebar
|
15 |
+
#image_path = os.path.join('images', 'sidebar.jpg')
|
16 |
+
#st.sidebar.image(image_path, use_column_width=True)
|
17 |
|
18 |
st.title('PeacePal 🌱')
|
19 |
|
20 |
+
# Set the background color to Calming Green
|
21 |
+
st.markdown(
|
22 |
+
"""
|
23 |
+
<style>
|
24 |
+
body {
|
25 |
+
background-color: #6EB38E;
|
26 |
+
}
|
27 |
+
</style>
|
28 |
+
""",
|
29 |
+
unsafe_allow_html=True
|
30 |
+
)
|
31 |
+
|
32 |
mdl = ModelPipeLine()
|
33 |
# Now you can access the retriever attribute of the ModelPipeLine instance
|
34 |
retriever = mdl.retriever
|