Docfile commited on
Commit
ba8aa19
·
verified ·
1 Parent(s): 3113d2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -78,7 +78,13 @@ def solve():
78
  {'inline_data': {'mime_type': 'image/png', 'data': img_str}},
79
  """Résous ça en français with rendering latex"""
80
 
81
- ], )
 
 
 
 
 
 
82
 
83
  for chunk in response:
84
  for part in chunk.candidates[0].content.parts:
@@ -133,6 +139,11 @@ def solved():
133
  {'inline_data': {'mime_type': 'image/png', 'data': img_str}},
134
  """ Résous ça en français with rendering latex"""
135
  ],
 
 
 
 
 
136
 
137
  )
138
 
 
78
  {'inline_data': {'mime_type': 'image/png', 'data': img_str}},
79
  """Résous ça en français with rendering latex"""
80
 
81
+ ],
82
+ config=types.GenerateContentConfig(
83
+ thinking_config=types.ThinkingConfig(
84
+ include_thoughts=True
85
+ )
86
+ )
87
+ )
88
 
89
  for chunk in response:
90
  for part in chunk.candidates[0].content.parts:
 
139
  {'inline_data': {'mime_type': 'image/png', 'data': img_str}},
140
  """ Résous ça en français with rendering latex"""
141
  ],
142
+ config=types.GenerateContentConfig(
143
+ thinking_config=types.ThinkingConfig(
144
+ include_thoughts=True
145
+ )
146
+ )
147
 
148
  )
149