Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -40,9 +40,9 @@ genai.configure(api_key=GOOGLE_API_KEY)
|
|
40 |
model = genai.GenerativeModel('gemini-pro')
|
41 |
|
42 |
|
43 |
-
userinput := st.chat_input("Hi"):
|
44 |
-
|
45 |
-
|
46 |
|
47 |
|
48 |
|
|
|
40 |
model = genai.GenerativeModel('gemini-pro')
|
41 |
|
42 |
|
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 |
|
47 |
|
48 |
|