awacke1 commited on
Commit
5a90ad5
Β·
1 Parent(s): 80c7f9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -0
app.py CHANGED
@@ -174,6 +174,24 @@ def save_message(name, message):
174
  with open("chat.txt", "a") as f:
175
  f.write(f"{timestamp} - {name}: {message}\n")
176
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  def main():
178
  st.title("Streamlit Chat")
179
 
@@ -211,6 +229,9 @@ def main():
211
  chat_history = f.read()
212
  #st.text(chat_history)
213
  st.markdown(chat_history)
 
 
 
214
  t = 60
215
 
216
  if __name__ == "__main__":
 
174
  with open("chat.txt", "a") as f:
175
  f.write(f"{timestamp} - {name}: {message}\n")
176
 
177
+ def press_release()
178
+ st.markdown("""πŸŽ‰πŸŽŠ Breaking News! πŸ“’πŸ“£
179
+
180
+ Introducing StreamlitWikipediaChat - the ultimate way to chat with Wikipedia and the whole world at the same time! πŸŒŽπŸ“šπŸ‘‹
181
+
182
+ Are you tired of reading boring articles on Wikipedia? Do you want to have some fun while learning new things? Then StreamlitWikipediaChat is just the thing for you! πŸ˜ƒπŸ’»
183
+
184
+ With StreamlitWikipediaChat, you can ask Wikipedia anything you want and get instant responses! Whether you want to know the capital of Madagascar or how to make a delicious chocolate cake, Wikipedia has got you covered. 🍰🌍
185
+
186
+ But that's not all! You can also chat with other people from around the world who are using StreamlitWikipediaChat at the same time. It's like a virtual classroom where you can learn from and teach others. πŸŒπŸ‘¨β€πŸ«πŸ‘©β€πŸ«
187
+
188
+ And the best part? StreamlitWikipediaChat is super easy to use! All you have to do is type in your question and hit send. That's it! πŸ€―πŸ™Œ
189
+
190
+ So, what are you waiting for? Join the fun and start chatting with Wikipedia and the world today! πŸ˜ŽπŸŽ‰
191
+
192
+ StreamlitWikipediaChat - where learning meets fun! πŸ€“πŸŽˆ""")
193
+
194
+
195
  def main():
196
  st.title("Streamlit Chat")
197
 
 
229
  chat_history = f.read()
230
  #st.text(chat_history)
231
  st.markdown(chat_history)
232
+
233
+ press_release()
234
+
235
  t = 60
236
 
237
  if __name__ == "__main__":