AhmedIbrahim007 commited on
Commit
72c7ae0
·
verified ·
1 Parent(s): c94778b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ async def process_file(file_data: FileProcess):
98
 
99
  def process_video(video_path):
100
  # Load the image from the provided path
101
- img = PILImage.create(image_path)
102
 
103
  # Make the prediction
104
  classification, _, probs = learn.predict(img)
 
98
 
99
  def process_video(video_path):
100
  # Load the image from the provided path
101
+ img = PILImage.create(video_path)
102
 
103
  # Make the prediction
104
  classification, _, probs = learn.predict(img)