iSushant commited on
Commit
60d9460
·
verified ·
1 Parent(s): 0ae90bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -12,8 +12,15 @@ def interpret_sign(image: Image.Image):
12
  try:
13
  # Prepare prompt
14
  prompt = (
15
- "Focus on identifying and interpreting sign language gestures. "
16
- "What sign or gesture is being shown in this image? Provide a clear, concise interpretation."
 
 
 
 
 
 
 
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