Spaces:
Build error
Build error
Commit ·
b77cdc7
1
Parent(s): a95d96f
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def get_LLMop(prompt):
|
|
| 30 |
model = genai.GenerativeModel('gemini-pro')
|
| 31 |
#response = model.generate_content("Who is the GOAT in the Football?")
|
| 32 |
|
| 33 |
-
ans=model.generate_content([get_text(prompt)+'use these text if possible use your own knowledge and guide me {prompt}. Answer me as you are Lord Krishna,answer should be very
|
| 34 |
return ans.text
|
| 35 |
|
| 36 |
st.title("Krishna AI")
|
|
|
|
| 30 |
model = genai.GenerativeModel('gemini-pro')
|
| 31 |
#response = model.generate_content("Who is the GOAT in the Football?")
|
| 32 |
|
| 33 |
+
ans=model.generate_content([get_text(prompt)+'use these text if possible use your own knowledge and guide me {prompt}. Answer me as you are Lord Krishna,answer should be very short,highly relavant and with a simple English'])
|
| 34 |
return ans.text
|
| 35 |
|
| 36 |
st.title("Krishna AI")
|