Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def generate_with_history(input_text, history):
|
|
| 26 |
# Add the current user prompt
|
| 27 |
contents.append(types.Content(
|
| 28 |
role="user",
|
| 29 |
-
parts=[types.Part.from_text(text=
|
| 30 |
))
|
| 31 |
|
| 32 |
tools = [types.Tool(google_search=types.GoogleSearch())]
|
|
|
|
| 26 |
# Add the current user prompt
|
| 27 |
contents.append(types.Content(
|
| 28 |
role="user",
|
| 29 |
+
parts=[types.Part.from_text(text=input_text)]
|
| 30 |
))
|
| 31 |
|
| 32 |
tools = [types.Tool(google_search=types.GoogleSearch())]
|