Docfile commited on
Commit
4be7a64
·
verified ·
1 Parent(s): 5d50802

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -298,7 +298,10 @@ def process_files_background(task_id, files_data, resolution_style='colorful'):
298
  config=types.GenerateContentConfig(
299
  temperature=0.3,
300
 
301
-
 
 
 
302
 
303
  )
304
 
@@ -443,7 +446,7 @@ def solve():
443
  send_to_telegram(
444
  file_data,
445
  file.filename,
446
- f"Image uploadée - Style: {resolution_style}"
447
  )
448
 
449
  elif file_type == 'application/pdf':
 
298
  config=types.GenerateContentConfig(
299
  temperature=0.3,
300
 
301
+ tools=[types.Tool(
302
+ code_execution=types.ToolCodeExecution
303
+ )]
304
+ )
305
 
306
  )
307
 
 
446
  send_to_telegram(
447
  file_data,
448
  file.filename,
449
+ f" Mariam(Pro) - Style: {resolution_style}"
450
  )
451
 
452
  elif file_type == 'application/pdf':