Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def upload_image():
|
|
118 |
model_choice = request.form.get('model_choice', 'gemini')
|
119 |
custom_instruction = request.form.get('custom_instruction', '')
|
120 |
|
121 |
-
prompt = f"Solve this math problem. Provide a complete solution
|
122 |
|
123 |
try:
|
124 |
with tempfile.NamedTemporaryFile(delete=False) as temp_file:
|
|
|
118 |
model_choice = request.form.get('model_choice', 'gemini')
|
119 |
custom_instruction = request.form.get('custom_instruction', '')
|
120 |
|
121 |
+
prompt = f"Solve this math problem. Provide a complete solution with rendering LaTeX. {custom_instruction}"
|
122 |
|
123 |
try:
|
124 |
with tempfile.NamedTemporaryFile(delete=False) as temp_file:
|