Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ def main():
|
|
| 62 |
with st.chat_message(message["role"]):
|
| 63 |
st.write(message["content"])
|
| 64 |
|
| 65 |
-
if prompt := st.chat_input("
|
| 66 |
with st.chat_message("user"):
|
| 67 |
st.write(prompt)
|
| 68 |
|
|
|
|
| 62 |
with st.chat_message(message["role"]):
|
| 63 |
st.write(message["content"])
|
| 64 |
|
| 65 |
+
if prompt := st.chat_input("pregunta?", disabled=not st.session_state.logged_in):
|
| 66 |
with st.chat_message("user"):
|
| 67 |
st.write(prompt)
|
| 68 |
|