Spaces:
Sleeping
Sleeping
ricardo-lsantos
commited on
Commit
•
9ab0242
1
Parent(s):
c9720d8
Update app.py
Browse files
app.py
CHANGED
@@ -37,10 +37,10 @@ def app():
|
|
37 |
|
38 |
if prompt := st.chat_input():
|
39 |
appendMessage("user", prompt)
|
40 |
-
|
41 |
msg = generateHFResponse()
|
42 |
appendMessage(msg["role"], msg["content"])
|
43 |
-
|
44 |
|
45 |
if __name__ == "__main__":
|
46 |
app()
|
|
|
37 |
|
38 |
if prompt := st.chat_input():
|
39 |
appendMessage("user", prompt)
|
40 |
+
writeMessage("user", prompt)
|
41 |
msg = generateHFResponse()
|
42 |
appendMessage(msg["role"], msg["content"])
|
43 |
+
writeMessage(msg["role"], msg["content"])
|
44 |
|
45 |
if __name__ == "__main__":
|
46 |
app()
|