Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,15 @@ def interpret_sign(image: Image.Image):
|
|
12 |
try:
|
13 |
# Prepare prompt
|
14 |
prompt = (
|
15 |
-
"
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
)
|
18 |
|
19 |
# Call Gemini API
|
|
|
12 |
try:
|
13 |
# Prepare prompt
|
14 |
prompt = (
|
15 |
+
"""
|
16 |
+
Focus on identifying and interpreting sign language gestures:
|
17 |
+
1. Look for hand shapes and finger positions
|
18 |
+
2. Identify any American Sign Language (ASL) letters or numbers
|
19 |
+
3. Recognize common ASL gestures and signs
|
20 |
+
4. Provide clear, direct interpretation
|
21 |
+
5. If unsure, describe the hand position/gesture seen
|
22 |
+
Keep responses brief and focused on the sign's meaning.
|
23 |
+
"""
|
24 |
)
|
25 |
|
26 |
# Call Gemini API
|