Spaces:
Sleeping
Sleeping
mathslearn
commited on
Commit
•
0f5132d
1
Parent(s):
f065beb
Update app.py
Browse files
app.py
CHANGED
@@ -12,9 +12,14 @@ from PIL import Image
|
|
12 |
st.title("Nexus TCM Chatbot")
|
13 |
query = st.text_input("Query: ", key="input")
|
14 |
|
15 |
-
# Load
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
18 |
st.image(logo_image, caption="Nexus TCM Chatbot Logo", use_column_width=True, height=logo_height)
|
19 |
|
20 |
if 'responses' not in st.session_state:
|
|
|
12 |
st.title("Nexus TCM Chatbot")
|
13 |
query = st.text_input("Query: ", key="input")
|
14 |
|
15 |
+
# Load the logo image
|
16 |
+
logo_path = "https://huggingface.co/spaces/mathslearn/chatbot_test_streamlit/blob/main/logo.jpeg"
|
17 |
+
logo_image = Image.open(logo_path)
|
18 |
+
|
19 |
+
# Desired height for the logo
|
20 |
+
logo_height = 100
|
21 |
+
|
22 |
+
# Display the logo with specified height
|
23 |
st.image(logo_image, caption="Nexus TCM Chatbot Logo", use_column_width=True, height=logo_height)
|
24 |
|
25 |
if 'responses' not in st.session_state:
|