Nikhil0987 commited on
Commit
58a2a10
·
verified ·
1 Parent(s): bdd9bb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -33,9 +33,9 @@ if prompt := st.chat_input("Hi, explain me what goal you want to achieve."):
33
  Follow all the above instruction for this given input:- {prompt}"""
34
  completion = model.generate_content(enprom)
35
 
36
- # response = palm.chat(messages=["Hello."])
37
- # print(response.last) # 'Hello! What can I help you with?'
38
- # response.reply("Can you tell me a joke?")
39
 
40
  # Print the generated text
41
  with st.chat_message("Assistant"):
 
33
  Follow all the above instruction for this given input:- {prompt}"""
34
  completion = model.generate_content(enprom)
35
 
36
+ response = palm.chat(messages=["Hello."])
37
+ print(response.last) # 'Hello! What can I help you with?'
38
+ response.reply("Can you tell me a joke?")
39
 
40
  # Print the generated text
41
  with st.chat_message("Assistant"):