Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,10 +7,16 @@ from langchain.prompts import PromptTemplate
|
|
| 7 |
|
| 8 |
import streamlit as st
|
| 9 |
from streamlit_chat import message
|
|
|
|
| 10 |
|
| 11 |
st.title("Nexus TCM Chatbot")
|
| 12 |
query = st.text_input("Query: ", key="input")
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
if 'responses' not in st.session_state:
|
| 15 |
st.session_state['responses'] = []
|
| 16 |
|
|
|
|
| 7 |
|
| 8 |
import streamlit as st
|
| 9 |
from streamlit_chat import message
|
| 10 |
+
from PIL import Image
|
| 11 |
|
| 12 |
st.title("Nexus TCM Chatbot")
|
| 13 |
query = st.text_input("Query: ", key="input")
|
| 14 |
|
| 15 |
+
# Load and display the logo image with specified height
|
| 16 |
+
logo_image = Image.open("logo.jpg")
|
| 17 |
+
logo_height = 200 # Specify the desired height in pixels
|
| 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:
|
| 21 |
st.session_state['responses'] = []
|
| 22 |
|