KevanSoon commited on
Commit ·
2166263
1
Parent(s): 8498fa6
added a dual ocr workflow
Browse files
app.py
CHANGED
|
@@ -1236,7 +1236,7 @@ async def generate_html_from_dual_ocr(
|
|
| 1236 |
raise ValueError("GEMINI_API_KEY not found in environment variables.")
|
| 1237 |
|
| 1238 |
genai.configure(api_key=api_key)
|
| 1239 |
-
model = genai.GenerativeModel(model_name="gemini-
|
| 1240 |
|
| 1241 |
prompt = f"""
|
| 1242 |
You have been provided with two different, translated OCR outputs for the same document.
|
|
|
|
| 1236 |
raise ValueError("GEMINI_API_KEY not found in environment variables.")
|
| 1237 |
|
| 1238 |
genai.configure(api_key=api_key)
|
| 1239 |
+
model = genai.GenerativeModel(model_name="gemini-2.5-flash")
|
| 1240 |
|
| 1241 |
prompt = f"""
|
| 1242 |
You have been provided with two different, translated OCR outputs for the same document.
|