Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def solve():
|
|
114 |
mode = 'starting'
|
115 |
try:
|
116 |
response = client.models.generate_content_stream(
|
117 |
-
model="gemini-2.5-flash-preview-
|
118 |
contents=[
|
119 |
{'inline_data': {'mime_type': 'image/png', 'data': img_str}},
|
120 |
"""Résous ça en français with rendering latex. utilise Python pour les calculs et les figures ( Then save the plot as an image file and display the image,
|
@@ -185,7 +185,7 @@ def solved():
|
|
185 |
mode = 'starting'
|
186 |
try:
|
187 |
response = client.models.generate_content_stream(
|
188 |
-
model="gemini-2.5-flash-preview-
|
189 |
contents=[
|
190 |
{'inline_data': {'mime_type': 'image/png', 'data': img_str}},
|
191 |
"""Résous ça en français with rendering latex. utilise python pour les calculs et figures.( "Then save the plot as an image file and display the image.)"""
|
|
|
114 |
mode = 'starting'
|
115 |
try:
|
116 |
response = client.models.generate_content_stream(
|
117 |
+
model="gemini-2.5-flash-preview-04-17",
|
118 |
contents=[
|
119 |
{'inline_data': {'mime_type': 'image/png', 'data': img_str}},
|
120 |
"""Résous ça en français with rendering latex. utilise Python pour les calculs et les figures ( Then save the plot as an image file and display the image,
|
|
|
185 |
mode = 'starting'
|
186 |
try:
|
187 |
response = client.models.generate_content_stream(
|
188 |
+
model="gemini-2.5-flash-preview-04-17",
|
189 |
contents=[
|
190 |
{'inline_data': {'mime_type': 'image/png', 'data': img_str}},
|
191 |
"""Résous ça en français with rendering latex. utilise python pour les calculs et figures.( "Then save the plot as an image file and display the image.)"""
|