Skip to content

Commit

Permalink
Add Powered by Groq Logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Bklieger committed Aug 21, 2024
1 parent 62e263a commit 6e926ca
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
Binary file added assets/logo/powered-by-groq-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logo/powered-by-groq.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion infinite_bookshelf/ui/components/advanced_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ def render_advanced_groq_form(on_submit, button_disabled=False, button_text="Gen
st.warning(
"🚧 Advanced Mode is in beta: You're using a version with experimental features."
)

st.markdown("### For creating book title:")
title_agent_model = st.selectbox(
"Title Agent Model",
Expand All @@ -35,6 +34,8 @@ def render_advanced_groq_form(on_submit, button_disabled=False, button_text="Gen
index=1,
help="Generates content for each section of the book",
)
st.markdown("\n")
st.image("assets/logo/powered-by-groq.png", width=150)

with st.form("groqform"):
st.info(
Expand Down
12 changes: 9 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,15 @@
"""
)

st.info(
"You are using a streamlined version. Try the new [advanced version](/advanced) in beta ."
)
col1, col2 = st.columns([0.7,0.3])
with col1:
st.info(
"You are using a streamlined version. Try the new [advanced version](/advanced) in beta."
)

with col2:
st.image("assets/logo/powered-by-groq.png", width=150)


def disable():
st.session_state.button_disabled = True
Expand Down

0 comments on commit 6e926ca

Please sign in to comment.