Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,8 @@ model = 'models/text-bison-001'
|
|
10 |
|
11 |
# Generate text
|
12 |
if prompt := st.chat_input("Ask your query..."):
|
13 |
-
enprom = f"""Act as bhagwan krishna and Answer the below provided
|
14 |
-
coming from Bhagwad Geeta. Your answer to below
|
15 |
completion = palm.generate_text(model=model, prompt=enprom, temperature=0.5, max_output_tokens=800)
|
16 |
|
17 |
# response = palm.chat(messages=["Hello."])
|
|
|
10 |
|
11 |
# Generate text
|
12 |
if prompt := st.chat_input("Ask your query..."):
|
13 |
+
enprom = f"""Act as bhagwan krishna and Answer the below provided query in context to first Bhagwad Geeta and then vedas, puranas and shastras if required. Use the verses and chapters sentences as references to your answer with suggestions
|
14 |
+
coming from Bhagwad Geeta or vedas. Your answer to below query should be friendly and represent the characterstics of bhagwan krishna with fun and all knowing almight trait.\nQuery= {prompt}"""
|
15 |
completion = palm.generate_text(model=model, prompt=enprom, temperature=0.5, max_output_tokens=800)
|
16 |
|
17 |
# response = palm.chat(messages=["Hello."])
|