Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ if uploaded_file:
|
|
| 49 |
try:
|
| 50 |
# The AI Logic
|
| 51 |
response = client.models.generate_content(
|
| 52 |
-
model="gemini-2.
|
| 53 |
contents=["Extract the credentialing details from this document.", image],
|
| 54 |
config=types.GenerateContentConfig(
|
| 55 |
response_mime_type="application/json",
|
|
|
|
| 49 |
try:
|
| 50 |
# The AI Logic
|
| 51 |
response = client.models.generate_content(
|
| 52 |
+
model="gemini-2.0-flash",
|
| 53 |
contents=["Extract the credentialing details from this document.", image],
|
| 54 |
config=types.GenerateContentConfig(
|
| 55 |
response_mime_type="application/json",
|