eddywu commited on
Commit
ef2a23b
·
verified ·
1 Parent(s): 8e95b5f

extend to 900s

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ Your primary task is to identify the main event in the video. Your description s
84
  In daylight, an unmarked white van enters from the right side of the frame and parks at the curb. An adult male exits the driver's seat. The man is wearing a black hooded sweatshirt with the hood up, obscuring his face, dark pants, and white sneakers. He walks directly to the house, pulls a tool from his pocket, and begins prying at the front door lock. After approximately 15 seconds, the door opens, and the man enters the residence. Three minutes later, he exits the house carrying a laptop and a backpack. He quickly returns to the van and drives away, exiting the frame to the left. No other people or vehicles are visible. This event can be categorized as a burglary.
85
  """
86
 
87
- @spaces.GPU(duration=300)
88
  def caption_video(video_path: str) -> str:
89
  if not video_path:
90
  return "No video provided."
 
84
  In daylight, an unmarked white van enters from the right side of the frame and parks at the curb. An adult male exits the driver's seat. The man is wearing a black hooded sweatshirt with the hood up, obscuring his face, dark pants, and white sneakers. He walks directly to the house, pulls a tool from his pocket, and begins prying at the front door lock. After approximately 15 seconds, the door opens, and the man enters the residence. Three minutes later, he exits the house carrying a laptop and a backpack. He quickly returns to the van and drives away, exiting the frame to the left. No other people or vehicles are visible. This event can be categorized as a burglary.
85
  """
86
 
87
+ @spaces.GPU(duration=900)
88
  def caption_video(video_path: str) -> str:
89
  if not video_path:
90
  return "No video provided."