Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -152,7 +152,7 @@ def process_files_for_gemini(files: List[str]) -> Dict[str, Any]:
|
|
| 152 |
return processed_data
|
| 153 |
|
| 154 |
|
| 155 |
-
def extract_with_gemini(processed_data: Dict[str, Any], api_key: str, model_name: str = "gemini-2.
|
| 156 |
"""Extract structured data using Gemini with enhanced multimodal processing"""
|
| 157 |
|
| 158 |
if not api_key or api_key.strip() == "":
|
|
|
|
| 152 |
return processed_data
|
| 153 |
|
| 154 |
|
| 155 |
+
def extract_with_gemini(processed_data: Dict[str, Any], api_key: str, model_name: str = "gemini-2.5-flash") -> Dict[str, Any]:
|
| 156 |
"""Extract structured data using Gemini with enhanced multimodal processing"""
|
| 157 |
|
| 158 |
if not api_key or api_key.strip() == "":
|