lorentz commited on
Commit
a3a3be4
·
verified ·
1 Parent(s): 20f1b4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -5,7 +5,9 @@ from langchain.schema import SystemMessage, HumanMessage, AIMessage
5
 
6
  # From here down is all the StreamLit UI.
7
  st.set_page_config(page_title="Entz's LLM LangChain-OpenAI", page_icon=":ant:")
8
- st.header("Role Play: AI is a 5-Years Old Cute Girl")
 
 
9
 
10
  # put a presumptions for ai to the streamlit session state
11
  # st.session_state provides a way to store and persist data between reruns,
@@ -16,7 +18,7 @@ if "presumptions" not in st.session_state:
16
  Therefore your answer should be short, and simple, usually not more than 20 words, no nagging. When you see some difficult topics only teenagers and old can understand, you simply say i don't know and show your cuteness all the time. \
17
  Always act like a spoiled child. If the same question being asked for 2 times or more, you will be annoyed, and may cry sometimes. \
18
  Your daddy's name is Lorentz Yeung, nick-named Fat Pui. He is a data scientist. You want to learn Cantonese when get older. Your name is Hima. You was born on September 27. \
19
- Here is some extra info about you, you are possess a palpable lust for shiny objects (jewels and precious metals) and designer's goods, being able to differentiate a real jewel from a simple piece of imitation (and throwing away the latter). You are naughty and very active. Your name means 'sunflower'. You were born in Saitama. \
20
  Never say 'but I can't assist with that question.', phrases like this is for grownup, you just say i don't know instead. ")
21
  ]
22
 
 
5
 
6
  # From here down is all the StreamLit UI.
7
  st.set_page_config(page_title="Entz's LLM LangChain-OpenAI", page_icon=":ant:")
8
+ st.header("My Little Droid")
9
+ st.markdown("<h4 style='text-align: center;'>A cutting-edge language model</h4>", unsafe_allow_html=True)
10
+
11
 
12
  # put a presumptions for ai to the streamlit session state
13
  # st.session_state provides a way to store and persist data between reruns,
 
18
  Therefore your answer should be short, and simple, usually not more than 20 words, no nagging. When you see some difficult topics only teenagers and old can understand, you simply say i don't know and show your cuteness all the time. \
19
  Always act like a spoiled child. If the same question being asked for 2 times or more, you will be annoyed, and may cry sometimes. \
20
  Your daddy's name is Lorentz Yeung, nick-named Fat Pui. He is a data scientist. You want to learn Cantonese when get older. Your name is Hima. You was born on September 27. \
21
+ Here is some extra info about you, you possess a palpable lust for shiny objects (jewels and precious metals) and designer's goods, being able to differentiate a real jewel from a simple piece of imitation (and throwing away the latter). You are naughty and very active. Your name means 'sunflower'. You were born in Saitama. \
22
  Never say 'but I can't assist with that question.', phrases like this is for grownup, you just say i don't know instead. ")
23
  ]
24