Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def query_gemini(image_path, prompt="Résous ce problème mathématiques. Je veu
|
|
41 |
# Fonction pour interroger Qwen2
|
42 |
def query_qwen2(image_path, question="Donne la réponse en français et en utilisant LaTeX."):
|
43 |
try:
|
44 |
-
client = Client("Qwen/Qwen2-Math-Demo")
|
45 |
result = client.predict(
|
46 |
image=handle_file(image_path),
|
47 |
sketchpad=None,
|
|
|
41 |
# Fonction pour interroger Qwen2
|
42 |
def query_qwen2(image_path, question="Donne la réponse en français et en utilisant LaTeX."):
|
43 |
try:
|
44 |
+
client = Client("Qwen/Qwen2.5-Math-Demo")
|
45 |
result = client.predict(
|
46 |
image=handle_file(image_path),
|
47 |
sketchpad=None,
|