Jobanpreet commited on
Commit
33f2710
·
verified ·
1 Parent(s): 5f0b332

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -76,7 +76,7 @@ def main():
76
 
77
  #------------------------------------------------------------Advance LinkedIn post code below-----------------------------------------------------------------
78
 
79
- if st.sidebar.toggle("Advance LinkedIn Post") and session_state.advancepost:
80
  google_api_key=st.sidebar.text_input("Google API Key:",placeholder="Enter Google Search API Key...")
81
  search_engine_id=st.sidebar.text_input("Search Engine ID:",placeholder="Enter Search Engine ID...")
82
  google_api_key = "AIzaSyDh-lkJh2Zef0t6UVqSu_w3njpucx40mDc"
@@ -95,7 +95,7 @@ def main():
95
  st.sidebar.error("Please enter Search Engine ID")
96
  else:
97
  st.sidebar.error("Please enter Google API Key")
98
- st.text_area("Advance LinkedIn post",value=session_state.advancepost, height=400)
99
 
100
 
101
  # if st.button('Copy Advanced Post'):
 
76
 
77
  #------------------------------------------------------------Advance LinkedIn post code below-----------------------------------------------------------------
78
 
79
+ if st.sidebar.toggle("Advance LinkedIn Post"):
80
  google_api_key=st.sidebar.text_input("Google API Key:",placeholder="Enter Google Search API Key...")
81
  search_engine_id=st.sidebar.text_input("Search Engine ID:",placeholder="Enter Search Engine ID...")
82
  google_api_key = "AIzaSyDh-lkJh2Zef0t6UVqSu_w3njpucx40mDc"
 
95
  st.sidebar.error("Please enter Search Engine ID")
96
  else:
97
  st.sidebar.error("Please enter Google API Key")
98
+ advance_post=st.text_area("Advance LinkedIn post",value=session_state.advancepost, height=400)
99
 
100
 
101
  # if st.button('Copy Advanced Post'):