abanm commited on
Commit
c2e14a0
·
verified ·
1 Parent(s): 89740b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -14
app.py CHANGED
@@ -1,20 +1,11 @@
1
  import streamlit as st
2
 
3
  st.set_page_config(page_title="DUBSChat", layout="wide")
4
- page_bg_img = f"""
5
- <style>
6
- [data-testid="stAppViewContainer"] > .main {{
7
- background-image: url("https://i.postimg.cc/4xgNnkfX/Untitled-design.png");
8
- background-size: cover;
9
- background-position: center center;
10
- background-repeat: no-repeat;
11
- background-attachment: local;
12
- }}
13
- [data-testid="stHeader"] {{
14
- background: rgba(0,0,0,0);
15
- }}
16
- </style>
17
- """
18
 
19
  st.markdown(page_bg_img, unsafe_allow_html=True)
20
  # Main Chat UI
 
1
  import streamlit as st
2
 
3
  st.set_page_config(page_title="DUBSChat", layout="wide")
4
+
5
+ st.chat_message("user").write("Hello")
6
+
7
+ st.chat_message("assistant",avatar=st.image(IMAGE_PATH).write("hello there")
8
+
 
 
 
 
 
 
 
 
 
9
 
10
  st.markdown(page_bg_img, unsafe_allow_html=True)
11
  # Main Chat UI