lyx97 commited on
Commit
ba19895
·
1 Parent(s): 2b68906
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -12,6 +12,9 @@ from src.compute import compute_scores
12
 
13
  global data_component, filter_component
14
 
 
 
 
15
  def validate_model_size(s):
16
  pattern = r'^\d+B$|^-$'
17
  if re.match(pattern, s):
 
12
 
13
  global data_component, filter_component
14
 
15
+ from huggingface_hub import Repository, HfApi
16
+ api = HfApi(token=os.getenv('HF_TOKEN'))
17
+
18
  def validate_model_size(s):
19
  pattern = r'^\d+B$|^-$'
20
  if re.match(pattern, s):