arjunanand13 commited on
Commit
007c02c
1 Parent(s): b0623fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -321,11 +321,12 @@ class VideoClassifier:
321
  # return final_answer, first_video, second_video
322
  end_time_generation = time.time()
323
  classification_time = end_time_generation-start_time_generation
324
-
325
- print("MODEL SETUP TIME",setup_time)
326
- print("TIME TAKEN FOR AUDIO CONVERSION (WHISPER)",audio_time)
327
- print("TIME TAKEN FOR IMAGE CAPTIONING", caption_time)
328
- print("TIME TAKEN FOR CLASS GENERATION",classification_time)
 
329
  return final_answer
330
 
331
 
 
321
  # return final_answer, first_video, second_video
322
  end_time_generation = time.time()
323
  classification_time = end_time_generation-start_time_generation
324
+ print ("MODEL USED :",self.model_name)
325
+ print("MODEL SETUP TIME :",setup_time)
326
+ print("TIME TAKEN FOR AUDIO CONVERSION (WHISPER) :",audio_time)
327
+ print("TIME TAKEN FOR IMAGE CAPTIONING :", caption_time)
328
+ print("TIME TAKEN FOR CLASS GENERATION :",classification_time)
329
+ print("TOTAL INFERENCE TIME :",audio_time+caption_time+classification_time)
330
  return final_answer
331
 
332