Nikhil0987 commited on
Commit
d22314c
·
verified ·
1 Parent(s): 4ce5796

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ model = genai.GenerativeModel('gemini-pro')
43
  if userinput := st.chat_input("Hi"):
44
  newuserinput = f"""
45
  Act as a personal assistant, Understand users intent and tell user their intent while also motivating for setting goals from this input = {userinput}"""
46
- completetion = model.generate_content(enprom)
47
  with st.chat_message("Assistant"):
48
  st.write(completetion.text)
49
 
 
43
  if userinput := st.chat_input("Hi"):
44
  newuserinput = f"""
45
  Act as a personal assistant, Understand users intent and tell user their intent while also motivating for setting goals from this input = {userinput}"""
46
+ completetion = model.generate_content(newuserinput)
47
  with st.chat_message("Assistant"):
48
  st.write(completetion.text)
49