Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -297,8 +297,10 @@ def process_files_background(task_id, files_data, resolution_style='colorful'):
|
|
| 297 |
|
| 298 |
config=types.GenerateContentConfig(
|
| 299 |
temperature=0.3,
|
|
|
|
|
|
|
|
|
|
| 300 |
|
| 301 |
-
# Ajouter l'outil d'exécution de code
|
| 302 |
|
| 303 |
)
|
| 304 |
|
|
|
|
| 297 |
|
| 298 |
config=types.GenerateContentConfig(
|
| 299 |
temperature=0.3,
|
| 300 |
+
tools=[types.Tool(
|
| 301 |
+
code_execution=types.ToolCodeExecution
|
| 302 |
+
)]
|
| 303 |
|
|
|
|
| 304 |
|
| 305 |
)
|
| 306 |
|