Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -101,8 +101,17 @@ def build_ui():
|
|
| 101 |
st.subheader(APP_TEXT['caption'])
|
| 102 |
|
| 103 |
|
| 104 |
-
with st.expander('
|
| 105 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
|
| 107 |
set_up_chat_ui()
|
| 108 |
|
|
@@ -121,6 +130,21 @@ def set_up_chat_ui():
|
|
| 121 |
|
| 122 |
prompt_template = ChatPromptTemplate.from_template(template)
|
| 123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
# Since Streamlit app reloads at every interaction, display the chat history
|
| 125 |
# from the save session state
|
| 126 |
for msg in history.messages:
|
|
|
|
| 101 |
st.subheader(APP_TEXT['caption'])
|
| 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"
|
| 112 |
+
"Mahnoor Asghar"
|
| 113 |
+
|
| 114 |
+
)
|
| 115 |
|
| 116 |
set_up_chat_ui()
|
| 117 |
|
|
|
|
| 130 |
|
| 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
|
| 150 |
for msg in history.messages:
|