The-Adnan-Syed commited on
Commit
d36c045
·
verified ·
1 Parent(s): b405d8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -16,7 +16,6 @@ import streamlit.components.v1 as components
16
  from openai import OpenAI
17
 
18
  st.set_page_config(page_title="TechZone AI Counsellor",page_icon=":left_speech_bubble", layout="centered", initial_sidebar_state="auto", menu_items=None)
19
- st.image("TZ Logo.png",width=80)
20
 
21
  hide_streamlit_style = """
22
  <style>
@@ -39,8 +38,16 @@ vectordb = Chroma(persist_directory=persist_directory, embedding_function=embedd
39
 
40
  llm = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0, api_key="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")
41
 
 
 
 
 
 
 
 
 
 
42
 
43
- st.markdown('<h1 style="font-family:Lora;color:darkred;text-align:center;">💬 TeeZee Chatbot</h1>',unsafe_allow_html=True)
44
  st.markdown('<i><h3 style="font-family:Arial;color:darkred;text-align:center;font-size:20px;padding-left:50px">Your AI Assistant To Answer Queries!</h3><i>',unsafe_allow_html=True)
45
 
46
 
 
16
  from openai import OpenAI
17
 
18
  st.set_page_config(page_title="TechZone AI Counsellor",page_icon=":left_speech_bubble", layout="centered", initial_sidebar_state="auto", menu_items=None)
 
19
 
20
  hide_streamlit_style = """
21
  <style>
 
38
 
39
  llm = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0, api_key="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")
40
 
41
+ col1, col2 = st.columns([1, 3])
42
+
43
+ # Column 1 for the image
44
+ with col1:
45
+ st.image("TZ Logo.png", width=80)
46
+
47
+ # Column 2 for the markdown text
48
+ with col2:
49
+ st.markdown('<h1 style="font-family:Lora;color:darkred;text-align:center;">💬 TeeZee Chatbot</h1>', unsafe_allow_html=True)
50
 
 
51
  st.markdown('<i><h3 style="font-family:Arial;color:darkred;text-align:center;font-size:20px;padding-left:50px">Your AI Assistant To Answer Queries!</h3><i>',unsafe_allow_html=True)
52
 
53