Bard [test mode]: fix content

This commit is contained in:
if 2023-03-29 22:25:32 +03:00
parent 48ef8cd7a0
commit 06c9d17717

View File

@ -68,7 +68,7 @@ def bard_conversation() -> None:
try:
bard = Chatbot(st.secrets.api_credentials.bard_session)
ai_content = bard.ask(st.session_state.user_text)
st.warning(ai_content)
st.warning(ai_content.get("content"))
except AttributeError as err:
st.error(err)