Thong Nguyen commited on
Commit
ed5192d
1 Parent(s): 4aaa812

change to tinyllava

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -5,13 +5,6 @@ import os
5
  from video_keyframe_detector.cli import keyframeDetection
6
  import numpy as np
7
  import cv2
8
- from llava.constants import (
9
- IMAGE_TOKEN_INDEX,
10
- DEFAULT_IMAGE_TOKEN,
11
- DEFAULT_IM_START_TOKEN,
12
- DEFAULT_IM_END_TOKEN,
13
- IMAGE_PLACEHOLDER,
14
- )
15
  from PIL import Image
16
  from transformers import AutoTokenizer, AutoModelForCausalLM
17
  hf_path = 'tinyllava/TinyLLaVA-Phi-2-SigLIP-3.1B'
 
5
  from video_keyframe_detector.cli import keyframeDetection
6
  import numpy as np
7
  import cv2
 
 
 
 
 
 
 
8
  from PIL import Image
9
  from transformers import AutoTokenizer, AutoModelForCausalLM
10
  hf_path = 'tinyllava/TinyLLaVA-Phi-2-SigLIP-3.1B'