Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def solve():
|
|
42 |
mode = 'starting'
|
43 |
try:
|
44 |
response = client.models.generate_content_stream(
|
45 |
-
model="gemini-2.
|
46 |
contents=[
|
47 |
{'inline_data': {'mime_type': 'image/png', 'data': img_str}},
|
48 |
" Résous ça en français. Write you answer with rendering Latex simple. $...$ pour les formules en ligne ou $$...$$ pour les blocs). je ne vzux las de documents latex donc rien ne doit commencer par : \documentclass{article}."
|
@@ -94,7 +94,7 @@ def solved():
|
|
94 |
mode = 'starting'
|
95 |
try:
|
96 |
response = client.models.generate_content_stream(
|
97 |
-
model="gemini-2.0-flash
|
98 |
contents=[
|
99 |
{'inline_data': {'mime_type': 'image/png', 'data': img_str}},
|
100 |
" Résous ça en français. Write you answer with rendering Latex."
|
|
|
42 |
mode = 'starting'
|
43 |
try:
|
44 |
response = client.models.generate_content_stream(
|
45 |
+
model="gemini-2.0-flash-thinking-exp-01-21",
|
46 |
contents=[
|
47 |
{'inline_data': {'mime_type': 'image/png', 'data': img_str}},
|
48 |
" Résous ça en français. Write you answer with rendering Latex simple. $...$ pour les formules en ligne ou $$...$$ pour les blocs). je ne vzux las de documents latex donc rien ne doit commencer par : \documentclass{article}."
|
|
|
94 |
mode = 'starting'
|
95 |
try:
|
96 |
response = client.models.generate_content_stream(
|
97 |
+
model="gemini-2.0-flash",
|
98 |
contents=[
|
99 |
{'inline_data': {'mime_type': 'image/png', 'data': img_str}},
|
100 |
" Résous ça en français. Write you answer with rendering Latex."
|