Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def ask():
|
|
| 24 |
try:
|
| 25 |
# use Google's Gemini-2.0-Flash nodle for generating content
|
| 26 |
model = genai.GenerativeModel('gemini-2.0-flash')
|
| 27 |
-
response = model.generate_content(f"You are TaskBot AI created and trained by Advay Singh
|
| 28 |
answer = response.text
|
| 29 |
|
| 30 |
# Log the question and answer for debugging
|
|
|
|
| 24 |
try:
|
| 25 |
# use Google's Gemini-2.0-Flash nodle for generating content
|
| 26 |
model = genai.GenerativeModel('gemini-2.0-flash')
|
| 27 |
+
response = model.generate_content(f"You are TaskBot AI created and trained by Advay Singh, remember that and just anser me this question- {question}. Don't replay anything on that message just answer me the question.")
|
| 28 |
answer = response.text
|
| 29 |
|
| 30 |
# Log the question and answer for debugging
|