usmanyousaf commited on
Commit
4acc9a8
·
verified ·
1 Parent(s): 3da551f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -14
app.py CHANGED
@@ -102,10 +102,10 @@ def build_ui():
102
 
103
 
104
  with st.expander('Member Contributions & Responsibilities 👥'):
105
- st.markdown(GlobalConfig.CHAT_USAGE_INSTRUCTIONS)
106
  st.markdown(
107
  "**Supervisor:** Ma'am Fouzia"
108
-
109
  "**Group Members:**"
110
  "Usman Yousaf"
111
  "Faisal Khan"
@@ -118,6 +118,20 @@ def build_ui():
118
 
119
  def set_up_chat_ui():
120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  st.chat_message('ai').write(
122
  random.choice(APP_TEXT['ai_greetings'])
123
  )
@@ -131,19 +145,7 @@ def set_up_chat_ui():
131
  prompt_template = ChatPromptTemplate.from_template(template)
132
 
133
 
134
- with st.expander('Usage Instructions'):
135
- st.markdown(GlobalConfig.CHAT_USAGE_INSTRUCTIONS)
136
- st.markdown(
137
- "Focused Usage 🚧"
138
- "Use resources strictly for the 'AI Slide Maker' project."
139
-
140
- "Access Management 🔐"
141
- "Ensure secure access to tools and report any issues."
142
-
143
- "Data Protection 🛡️"
144
- "Safeguard project data and maintain confidentiality."
145
 
146
- )
147
 
148
  # Since Streamlit app reloads at every interaction, display the chat history
149
  # from the save session state
 
102
 
103
 
104
  with st.expander('Member Contributions & Responsibilities 👥'):
105
+ # st.markdown(GlobalConfig.CHAT_USAGE_INSTRUCTIONS)
106
  st.markdown(
107
  "**Supervisor:** Ma'am Fouzia"
108
+
109
  "**Group Members:**"
110
  "Usman Yousaf"
111
  "Faisal Khan"
 
118
 
119
  def set_up_chat_ui():
120
 
121
+ with st.expander('Usage Instructions'):
122
+ # st.markdown(GlobalConfig.CHAT_USAGE_INSTRUCTIONS)
123
+ st.markdown(
124
+ "Focused Usage 🚧"
125
+ "Use resources strictly for the 'AI Slide Maker' project."
126
+
127
+ "Access Management 🔐"
128
+ "Ensure secure access to tools and report any issues."
129
+
130
+ "Data Protection 🛡️"
131
+ "Safeguard project data and maintain confidentiality."
132
+
133
+ )
134
+
135
  st.chat_message('ai').write(
136
  random.choice(APP_TEXT['ai_greetings'])
137
  )
 
145
  prompt_template = ChatPromptTemplate.from_template(template)
146
 
147
 
 
 
 
 
 
 
 
 
 
 
 
148
 
 
149
 
150
  # Since Streamlit app reloads at every interaction, display the chat history
151
  # from the save session state