doc download added
Browse files
app.py
CHANGED
@@ -144,7 +144,7 @@ def main():
|
|
144 |
updated_text_from_response = call_gemini_api(
|
145 |
image_base64,
|
146 |
api_key,
|
147 |
-
prompt=f"What is {k} in this document?",
|
148 |
)
|
149 |
value = updated_text_from_response["candidates"][0][
|
150 |
"content"
|
|
|
144 |
updated_text_from_response = call_gemini_api(
|
145 |
image_base64,
|
146 |
api_key,
|
147 |
+
prompt=f"What is {k} in this document? Just answer the question directly using key words, don't say a complete sentence.",
|
148 |
)
|
149 |
value = updated_text_from_response["candidates"][0][
|
150 |
"content"
|