Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -60,9 +60,9 @@ with chat_container:
|
|
60 |
st.subheader("Conversation")
|
61 |
for idx, (speaker, message) in enumerate(st.session_state["conversation"]):
|
62 |
if speaker == "You":
|
63 |
-
st.
|
64 |
else:
|
65 |
-
st.
|
66 |
|
67 |
# Input Area
|
68 |
with input_container:
|
|
|
60 |
st.subheader("Conversation")
|
61 |
for idx, (speaker, message) in enumerate(st.session_state["conversation"]):
|
62 |
if speaker == "You":
|
63 |
+
st.write(f"You ({idx}):", message, key=f"you_{idx}", disabled=False)
|
64 |
else:
|
65 |
+
st.write(f"Model ({idx}):", message, key=f"model_{idx}", disabled=False)
|
66 |
|
67 |
# Input Area
|
68 |
with input_container:
|