Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramyrahmeni committed Jun 16, 2024
1 parent ac2a77f commit 587902c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def main():
if message.role=="user":
match = re.search(r"Question:\s*(.*)\s*Answer:", message.parts[0].text)
question = match.group(1)
st.markdown(question)
st.markdown("Question:"+question)
else:
with st.chat_message(translate_role_for_streamlit(message.role)):
st.markdown(message.parts[0].text)
Expand Down

0 comments on commit 587902c

Please sign in to comment.