obichimav commited on
Commit
519b8a9
·
verified ·
1 Parent(s): e7d4da2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def encode_image_to_base64(image_array):
71
  return base64.b64encode(buffered.getvalue()).decode('utf-8')
72
 
73
 
74
- # def format_query_for_model(text_input, model_type="owlv2"):
75
  """Format query based on model requirements"""
76
  # Extract objects (e.g., "detect a lion" -> "lion")
77
  text = text_input.lower()
 
71
  return base64.b64encode(buffered.getvalue()).decode('utf-8')
72
 
73
 
74
+ def format_query_for_model(text_input, model_type="owlv2"):
75
  """Format query based on model requirements"""
76
  # Extract objects (e.g., "detect a lion" -> "lion")
77
  text = text_input.lower()