Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,6 @@ def extract_text_and_translate(image):
|
|
29 |
|
30 |
prompt = (
|
31 |
"Extract all grocery items from this image, but only include items written in Malayalam or English. "
|
32 |
-
"Do NOT assume incorrect items. If unsure, return 'Unknown'. "
|
33 |
"Ignore words written in Tamil, Hindi, or any other language. "
|
34 |
"If an item is not in Malayalam or English, do not include it in the output. "
|
35 |
"Translate every Malayalam word strictly to English. If translation is unknown, return 'Unknown'. "
|
|
|
29 |
|
30 |
prompt = (
|
31 |
"Extract all grocery items from this image, but only include items written in Malayalam or English. "
|
|
|
32 |
"Ignore words written in Tamil, Hindi, or any other language. "
|
33 |
"If an item is not in Malayalam or English, do not include it in the output. "
|
34 |
"Translate every Malayalam word strictly to English. If translation is unknown, return 'Unknown'. "
|