Syed Junaid Iqbal commited on
Commit
157cffe
1 Parent(s): 3370938

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -104,12 +104,12 @@ def get_conversation_chain(vectorstore):
104
  callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])
105
 
106
  if st.session_state.model == "Google_PaLm" :
107
- llm = GooglePalm(google_api_key = "AIzaSyAIo7rw6iJPWpkpOXSJk6BnuOKNSaB5muM",
108
  max_output_tokens = 4000,
109
  callback_manager=callback_manager)
110
 
111
  elif st.session_state.model == "Open_AIGPT-3.5-Turbo":
112
- llm = OpenAI(api_key = "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",
113
  callback_manager = callback_manager,
114
  max_tokens= 4000 )
115
 
 
104
  callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])
105
 
106
  if st.session_state.model == "Google_PaLm" :
107
+ llm = GooglePalm(google_api_key = "Add your google palm API",
108
  max_output_tokens = 4000,
109
  callback_manager=callback_manager)
110
 
111
  elif st.session_state.model == "Open_AIGPT-3.5-Turbo":
112
+ llm = OpenAI(api_key = "add your openAI Key",
113
  callback_manager = callback_manager,
114
  max_tokens= 4000 )
115