diff --git a/app.py b/app.py index 275e349..81971c6 100644 --- a/app.py +++ b/app.py @@ -5,7 +5,6 @@ from src.uis.audioui import audioui from src.uis.chatui import chatui from src.utils.session_state import init_session_state -from src.uis.footer import render_footer async def main(): @@ -14,6 +13,15 @@ async def main(): st.title("🎧 Audiora") st.subheader("Listen to anything, anytime, leveraging AI") + st.sidebar.markdown( + """ +

+ A VeedoAI project. (c) 2024 +

+ """, + unsafe_allow_html=True, + ) + # Sidebar for content type selection st.sidebar.title("Audiocast Info") @@ -24,7 +32,9 @@ async def main(): f"Content Category: {st.session_state.content_category.capitalize()}" ) else: - st.sidebar.markdown("> Your preferences and audiocast metadata will appear here") + st.sidebar.markdown( + "> Your preferences and audiocast metadata will appear here" + ) # Declare chat interface container uichat = st.empty() @@ -34,8 +44,6 @@ async def main(): else: await audioui(uichat) - render_footer() - if __name__ == "__main__": asyncio.run(main()) diff --git a/src/uis/footer.py b/src/uis/footer.py deleted file mode 100644 index 255fde7..0000000 --- a/src/uis/footer.py +++ /dev/null @@ -1,26 +0,0 @@ -import streamlit as st - - -def render_footer(): - st.markdown( - """ - - """, - unsafe_allow_html=True, - ) - - st.sidebar.markdown( - """ - - """, - unsafe_allow_html=True, - ) diff --git a/src/utils/render_chat.py b/src/utils/render_chat.py index f16e223..2569b37 100644 --- a/src/utils/render_chat.py +++ b/src/utils/render_chat.py @@ -25,7 +25,6 @@ def on_value_change(): key="selected_content_category", on_change=on_value_change, ) - def render_chat_history():