add project repo & dividers
This commit is contained in:
parent
4e0107ed24
commit
394bee20a8
@ -62,7 +62,7 @@ def show_gpt_conversation() -> None:
|
|||||||
st.session_state.messages.append({"role": "assistant", "content": ai_content})
|
st.session_state.messages.append({"role": "assistant", "content": ai_content})
|
||||||
if ai_content:
|
if ai_content:
|
||||||
show_chat(ai_content, st.session_state.user_text)
|
show_chat(ai_content, st.session_state.user_text)
|
||||||
st.markdown("---")
|
st.divider()
|
||||||
show_player(ai_content)
|
show_player(ai_content)
|
||||||
except InvalidRequestError as err:
|
except InvalidRequestError as err:
|
||||||
if err.code == "context_length_exceeded":
|
if err.code == "context_length_exceeded":
|
||||||
|
@ -6,15 +6,17 @@ from src.utils.helpers import render_svg
|
|||||||
|
|
||||||
|
|
||||||
def show_info(icon: Path) -> None:
|
def show_info(icon: Path) -> None:
|
||||||
st.markdown("---")
|
st.divider()
|
||||||
st.markdown(f"<div style='text-align: justify;'>{st.session_state.locale.responsibility_denial}</div>",
|
st.markdown(f"<div style='text-align: justify;'>{st.session_state.locale.responsibility_denial}</div>",
|
||||||
unsafe_allow_html=True)
|
unsafe_allow_html=True)
|
||||||
st.markdown("---")
|
st.divider()
|
||||||
st.markdown(f"""
|
st.markdown(f"""
|
||||||
### :page_with_curl: {st.session_state.locale.footer_title}
|
### :page_with_curl: {st.session_state.locale.footer_title}
|
||||||
- {render_svg(icon)} [{st.session_state.locale.footer_chat}](https://t.me/talks_ai)
|
- {render_svg(icon)} [{st.session_state.locale.footer_chat}](https://t.me/talks_ai)
|
||||||
- {render_svg(icon)} [{st.session_state.locale.footer_channel}](https://t.me/talks_aii)
|
- {render_svg(icon)} [{st.session_state.locale.footer_channel}](https://t.me/talks_aii)
|
||||||
""", unsafe_allow_html=True)
|
""", unsafe_allow_html=True)
|
||||||
|
st.divider()
|
||||||
|
st.markdown("[project repo](https://github.com/dKosarevsky/AI-Talks)")
|
||||||
|
|
||||||
|
|
||||||
def show_donates() -> None:
|
def show_donates() -> None:
|
||||||
@ -44,6 +46,6 @@ def show_donates() -> None:
|
|||||||
_, img_col, _ = st.columns(3)
|
_, img_col, _ = st.columns(3)
|
||||||
with img_col:
|
with img_col:
|
||||||
st.image("assets/qr/tink.png", width=200)
|
st.image("assets/qr/tink.png", width=200)
|
||||||
st.markdown("---")
|
st.divider()
|
||||||
st.markdown(f"<div style='text-align: justify;'>{st.session_state.locale.donates_info}</div>",
|
st.markdown(f"<div style='text-align: justify;'>{st.session_state.locale.donates_info}</div>",
|
||||||
unsafe_allow_html=True)
|
unsafe_allow_html=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user