Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaughachukwuma committed Oct 30, 2024
1 parent a55a630 commit 884b0dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/uis/footer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def render_footer():
"""
<style>
.footer {
position: fixed;
position: absolute;
bottom: 0;
text-align: center;
padding: 1rem;
Expand Down
3 changes: 2 additions & 1 deletion src/utils/render_audiocast.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def render_audiocast():
Render the audiocast based on the user's preferences
- Display current audiocast if available
"""
st.header("Your Audiocast")
st.markdown("#### Your Audiocast")
current_audiocast: GenerateAudiocastDict = st.session_state.current_audiocast

# Audio player
Expand Down Expand Up @@ -53,4 +53,5 @@ def render_audiocast():
st.rerun()

if st.session_state.get("show_copy_success", False):
st.session_state.show_copy_succes = False
st.success("Share link copied successfully!", icon="✅")
5 changes: 2 additions & 3 deletions src/utils/render_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,17 @@ def on_value_change():
st.session_state.messages.append({"role": "human", "content": content})
st.session_state.content_category = content_category

st.rerun()

with st.container():
col1, _ = st.columns(2)
with col1:
st.selectbox(
"Select Content Type",
"Select Content Category",
content_categories,
format_func=lambda x: x.title(),
key="selected_content_category",
on_change=on_value_change,
)



def render_chat_history():
Expand Down

0 comments on commit 884b0dd

Please sign in to comment.