Nikhil0987 commited on
Commit
ab7b182
·
verified ·
1 Parent(s): c8b29ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -24,4 +24,9 @@ if prompt := st.chat_input("Hi, explain me what goal you want to achieve."):
24
  Act as a personal assistant, Understand user intent from the point of view for creating a goal. ask to know more details about the goal.
25
  show your suggestions of routines or tasks which will help to achieve the goal as a table of 3 column of Task title, with time to invest, and repetation frequency.
26
  Follow all the above instruction for this given input:- {prompt}"""
27
- completion = model.generate_content(enprom)
 
 
 
 
 
 
24
  Act as a personal assistant, Understand user intent from the point of view for creating a goal. ask to know more details about the goal.
25
  show your suggestions of routines or tasks which will help to achieve the goal as a table of 3 column of Task title, with time to invest, and repetation frequency.
26
  Follow all the above instruction for this given input:- {prompt}"""
27
+ completion = model.generate_content(enprom)
28
+
29
+
30
+ # Print the generated text
31
+ with st.chat_message("Assistant"):
32
+ st.write(completion.text)