Skip to content

Commit

Permalink
remove the footer file
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaughachukwuma committed Oct 30, 2024
1 parent d79f3f6 commit 5240d51
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 31 deletions.
16 changes: 12 additions & 4 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -14,6 +13,15 @@ async def main():
st.title("🎧 Audiora")
st.subheader("Listen to anything, anytime, leveraging AI")

st.sidebar.markdown(
"""
<p>
A <a href="https://veedo.ai">VeedoAI</a> project. (c) 2024
</p>
""",
unsafe_allow_html=True,
)

# Sidebar for content type selection
st.sidebar.title("Audiocast Info")

Expand All @@ -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()
Expand All @@ -34,8 +44,6 @@ async def main():
else:
await audioui(uichat)

render_footer()


if __name__ == "__main__":
asyncio.run(main())
26 changes: 0 additions & 26 deletions src/uis/footer.py

This file was deleted.

1 change: 0 additions & 1 deletion src/utils/render_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def on_value_change():
key="selected_content_category",
on_change=on_value_change,
)



def render_chat_history():
Expand Down

0 comments on commit 5240d51

Please sign in to comment.