ryanrwatkins commited on
Commit
6720156
1 Parent(s): 92140e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -132,8 +132,8 @@ def submit_message(prompt, prompt_template, temperature, max_tokens, context_len
132
 
133
  gen_ai = ChatGoogleGenerativeAI(model="gemini-pro", temperature=0.7, top_p=0.85)
134
  response = gen_ai.invoke(
135
- input=prompt,
136
- context=history,
137
  #max_tokens=max_tokens, # for open ai only
138
  #temperature=temperature # for open ai only
139
  )
 
132
 
133
  gen_ai = ChatGoogleGenerativeAI(model="gemini-pro", temperature=0.7, top_p=0.85)
134
  response = gen_ai.invoke(
135
+ input=history + prompt,
136
+ #context=history,
137
  #max_tokens=max_tokens, # for open ai only
138
  #temperature=temperature # for open ai only
139
  )