SatyamSinghal commited on
Commit
b034a23
·
verified ·
1 Parent(s): 77a2998

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -71,6 +71,8 @@ def generate_scene_description(object_counts):
71
  return "This scene could involve a railway station or a train passing through a scenic route."
72
  elif "surfboard" in object_counts or "person" in object_counts:
73
  return "This is likely a beach or coastal scene featuring activities like surfing or water sports."
 
 
74
  elif "book" in object_counts and "person" in object_counts:
75
  return "This scene could depict a quiet reading environment, such as a library or a study room."
76
  elif "traffic light" in object_counts and "car" in object_counts:
 
71
  return "This scene could involve a railway station or a train passing through a scenic route."
72
  elif "surfboard" in object_counts or "person" in object_counts:
73
  return "This is likely a beach or coastal scene featuring activities like surfing or water sports."
74
+ elif "dining table" in object_counts and "person" in object_counts:
75
+ return "This is likely a scene of a Person eating in a Resaturant or Food Court."
76
  elif "book" in object_counts and "person" in object_counts:
77
  return "This scene could depict a quiet reading environment, such as a library or a study room."
78
  elif "traffic light" in object_counts and "car" in object_counts: