Update app.py
Browse files
app.py
CHANGED
|
@@ -1,20 +1,11 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
st.set_page_config(page_title="DUBSChat", layout="wide")
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 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
|