arjunanand13 commited on
Commit
07a5f25
·
verified ·
1 Parent(s): 74efc30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -118,12 +118,14 @@ Please provide your analysis in the following format:
118
 
119
  Important: Base your analysis solely on visual evidence from the video. Focus on concrete, observable details rather than assumptions."""
120
 
 
 
121
  def inference(video, step_number):
122
  if not video:
123
  return "Please upload a video first."
124
 
125
  try:
126
- model, tokenizer = load_model()
127
  video_data = video.read()
128
 
129
  # Get possible reasons for the selected step
 
118
 
119
  Important: Base your analysis solely on visual evidence from the video. Focus on concrete, observable details rather than assumptions."""
120
 
121
+ model, tokenizer = load_model()
122
+
123
  def inference(video, step_number):
124
  if not video:
125
  return "Please upload a video first."
126
 
127
  try:
128
+
129
  video_data = video.read()
130
 
131
  # Get possible reasons for the selected step