Update app.py
Browse files
app.py
CHANGED
|
@@ -7,10 +7,12 @@ prompt = st.chat_input("Say something")
|
|
| 7 |
|
| 8 |
if prompt:
|
| 9 |
try:
|
| 10 |
-
st.
|
|
|
|
| 11 |
except:
|
| 12 |
try:
|
| 13 |
-
st.
|
|
|
|
| 14 |
except Exception as e:
|
| 15 |
st.write(str(e))
|
| 16 |
|
|
|
|
| 7 |
|
| 8 |
if prompt:
|
| 9 |
try:
|
| 10 |
+
with st.chat_message("user"):
|
| 11 |
+
st.markdown(prompt)
|
| 12 |
except:
|
| 13 |
try:
|
| 14 |
+
with st.chat_message("user"):
|
| 15 |
+
st.markdown(prompt)
|
| 16 |
except Exception as e:
|
| 17 |
st.write(str(e))
|
| 18 |
|