Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,28 @@ import streamlit as st
|
|
3 |
from huggingface_hub import InferenceApi, login, InferenceClient
|
4 |
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
# Streamlit app configuration
|
7 |
st.set_page_config(page_title="Medical Chatbot")
|
8 |
st.title("Medical Chatbot 🤖")
|
|
|
3 |
from huggingface_hub import InferenceApi, login, InferenceClient
|
4 |
|
5 |
|
6 |
+
page_bg_img = """
|
7 |
+
<style>
|
8 |
+
.stApp > header { background-color: transparent;}
|
9 |
+
.stApp {
|
10 |
+
background: rgb(80,255,235);
|
11 |
+
background: linear-gradient(90deg, rgba(80,255,235,1) 0%,
|
12 |
+
rgba(0,0,255,1) 50%, rgba(188,0,255,1) 92%);
|
13 |
+
background-size: 150% 150%;
|
14 |
+
animation: my_animation 30s ease infinite;
|
15 |
+
}
|
16 |
+
@keyframes my_animation {
|
17 |
+
0% {background-position: 0% 0%;}
|
18 |
+
25% { background-position: 0% 0%;}
|
19 |
+
50% {background-position: 100% 100%;}
|
20 |
+
75% {background-position: 100% 100%;}
|
21 |
+
100% {background-position: 0% 0%;}
|
22 |
+
}
|
23 |
+
</style>
|
24 |
+
"""
|
25 |
+
|
26 |
+
st.markdown(page_bg_img, unsafe_allow_html=True)
|
27 |
+
|
28 |
# Streamlit app configuration
|
29 |
st.set_page_config(page_title="Medical Chatbot")
|
30 |
st.title("Medical Chatbot 🤖")
|