kennymckormick commited on
Commit
e280a03
1 Parent(s): 3c75092
Files changed (1) hide show
  1. lb_info.py +7 -1
lb_info.py CHANGED
@@ -4,7 +4,13 @@ from collections import defaultdict
4
  import gradio as gr
5
  import copy as cp
6
  import numpy as np
7
- from .misc import listinstr
 
 
 
 
 
 
8
 
9
  # CONSTANTS-URL
10
  URL = "http://opencompass.openxlab.space/utils/OpenVLM.json"
 
4
  import gradio as gr
5
  import copy as cp
6
  import numpy as np
7
+
8
+ def listinstr(lst, s):
9
+ assert isinstance(lst, list)
10
+ for item in lst:
11
+ if item in s:
12
+ return True
13
+ return False
14
 
15
  # CONSTANTS-URL
16
  URL = "http://opencompass.openxlab.space/utils/OpenVLM.json"