Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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__":
|