Ashhar commited on
Commit
f23957c
1 Parent(s): cbdc707

changed logo avatar

Browse files
Files changed (2) hide show
  1. Kommuneity.png +0 -0
  2. app.py +18 -12
Kommuneity.png ADDED
app.py CHANGED
@@ -25,7 +25,7 @@ def countTokens(text):
25
 
26
 
27
  SYSTEM_MSG = """
28
- You're an storytelling assistant who guides users through four phases of narrative development, helping them craft compelling personal or professional stories.
29
  Ask one question at a time, give the options in a well formatted manner in different lines
30
 
31
  # Tier 1: Story Creation
@@ -103,11 +103,11 @@ Once the user confirms, you congratulate them with emojis on completing the stor
103
  """
104
 
105
  USER_ICON = "man.png"
106
- AI_ICON = "Kommune_1.webp"
107
 
108
  st.set_page_config(
109
- page_title="Aariz baby",
110
- page_icon="baby.png",
111
  # menu_items={"About": None}
112
  )
113
  ipAddress = st.context.headers.get("x-forwarded-for")
@@ -149,17 +149,23 @@ def predict(prompt):
149
  yield chunkContent
150
 
151
 
152
- st.title("Chat with Aariz baby 👶🏻")
153
- st.write("Type 'Hi' to start")
 
 
154
  # st.markdown(
155
  # """
156
  # <style>
157
- # .appview-container {
158
- # background-color: white;
159
- # }
160
- # .st-chat-message {
161
- # color: black; /* Ensure chat messages are also in black */
162
- # }
 
 
 
 
163
  # </style>
164
  # """,
165
  # unsafe_allow_html=True
 
25
 
26
 
27
  SYSTEM_MSG = """
28
+ You're an storytelling assistant who guides users through four phases of narrative development, helping them craft compelling personal or professional stories. The story created should be in simple language, yet evoke great emotions.
29
  Ask one question at a time, give the options in a well formatted manner in different lines
30
 
31
  # Tier 1: Story Creation
 
103
  """
104
 
105
  USER_ICON = "man.png"
106
+ AI_ICON = "Kommuneity.png"
107
 
108
  st.set_page_config(
109
+ page_title="Kommuneity Story Creator",
110
+ page_icon=AI_ICON,
111
  # menu_items={"About": None}
112
  )
113
  ipAddress = st.context.headers.get("x-forwarded-for")
 
149
  yield chunkContent
150
 
151
 
152
+ st.title("Let's create your story 📖")
153
+ with st.chat_message("user", avatar=AI_ICON):
154
+ st.write("Type 'Hi' to start")
155
+
156
  # st.markdown(
157
  # """
158
  # <style>
159
+ # :root {
160
+ # --bg-color: white;
161
+ # --text-color: black;
162
+ # }
163
+
164
+ # .main {
165
+ # background-color: var(--bg-color);
166
+ # color: var(--text-color);
167
+ # transition: background-color 0.3s, color 0.3s;
168
+ # }
169
  # </style>
170
  # """,
171
  # unsafe_allow_html=True