Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def solve():
|
|
35 |
try:
|
36 |
response = client.models.generate_content_stream(
|
37 |
model="gemini-2.0-flash-thinking-exp-01-21",
|
38 |
-
config={'thinking_config': {'include_thoughts': True},
|
39 |
contents=[
|
40 |
{'inline_data': {'mime_type': 'image/png', 'data': img_str}},
|
41 |
"Résous ce problème mathématique étape par étape."
|
|
|
35 |
try:
|
36 |
response = client.models.generate_content_stream(
|
37 |
model="gemini-2.0-flash-thinking-exp-01-21",
|
38 |
+
config={'thinking_config': {'include_thoughts': True}},tools="code_execution",
|
39 |
contents=[
|
40 |
{'inline_data': {'mime_type': 'image/png', 'data': img_str}},
|
41 |
"Résous ce problème mathématique étape par étape."
|