Update app.py
Browse files
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"
|
| 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':
|