Docfile commited on
Commit
174f5a0
·
verified ·
1 Parent(s): 7bfd51d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.5-pro-exp-03-25",
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-thinking-exp-01-21",
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."