import streamlit as st st.markdown(""" """,unsafe_allow_html=True) if "API_Key" not in st.session_state: st.session_state['API_Key']='' st.title('❤️Youtube Script Writing Tool') st.sidebar.title('😎🗝️') st.session_state['API_Key']=st.sidebar.text_input("What's your API key?",type='password') st.sidebar.image('./Youtube.png',width=300,use_column_width=True) prompt= st.text_input("Please provide the topic of the video",key="prompt") video_length = st.text_input("Expected Video Length 🕛 (in minutes)",key = 'video_length') creativity = st.slider('Creativity ✨ - (0 LOW || 1 HIGH)',0.0,1.0,0.2,step=0.1) submit = st.button('Generate Script for me')