diff --git a/pages/stream_app/chat.py b/pages/stream_app/chat.py index 97cdef6..0671c85 100644 --- a/pages/stream_app/chat.py +++ b/pages/stream_app/chat.py @@ -83,11 +83,18 @@ def chat_sidebar(current_notebook: Notebook, current_session: ChatSession): instructions = st.text_area( "Instructions", value=selected_template.user_instructions ) - podcast_length = st.radio( - "Podcast Length", - ["Short (5-10 min)", "Long (20-30 min)"], - ) - longform = podcast_length == "Long (20-30 min)" + # if selected_template.provider == "gemini": + # st.warning( + # "Gemini models are not available for long podcast generation yet. So, this will be a short podcast. Coming soon. Pinky promise. If you want to try long podcasts, please change your text to speech model to Open AI." + # ) + # longform = False + # else: + # podcast_length = st.radio( + # "Podcast Length", + # ["Short (5-10 min)", "Long (20-30 min)"], + # ) + # longform = podcast_length == "Long (20-30 min)" + longform = False if len(context.get("note", [])) + len(context.get("source", [])) == 0: st.warning( "No notes or sources found in context. You don't want a boring podcast, right? So, add some context first."