Diangle commited on
Commit
89c3aac
1 Parent(s): 57fdc9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -72,8 +72,8 @@ class NearestNeighbors:
72
 
73
 
74
  def search(search_sentence):
75
- my_model = CLIPTextModelWithProjection.from_pretrained("Diangle/clip4clip-webvid", use_auth_token=True)
76
- tokenizer = AutoTokenizer.from_pretrained("Diangle/clip4clip-webvid", use_auth_token=True)
77
 
78
 
79
  inputs = tokenizer(text=search_sentence , return_tensors="pt", padding=True)
 
72
 
73
 
74
  def search(search_sentence):
75
+ my_model = CLIPTextModelWithProjection.from_pretrained("Diangle/clip4clip-webvid")
76
+ tokenizer = AutoTokenizer.from_pretrained("Diangle/clip4clip-webvid")
77
 
78
 
79
  inputs = tokenizer(text=search_sentence , return_tensors="pt", padding=True)