Diangle commited on
Commit
dc25be5
·
1 Parent(s): 4c37ba1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -43,9 +43,9 @@ HTML="""
43
  </html>
44
  """
45
 
46
- DESCRIPTION="""Welcome to our video retrieval demo powered by [Diangle/clip4clip-webvid](https://huggingface.co/Diangle/clip4clip-webvid)! <br>
47
- Using a simple sentence you will find the top 5 most relevant videos among a dataset of 1.5 million videos. <br>
48
- Discover, explore, and enjoy the world of videos at your fingertips.
49
  """
50
  ENDING = """For search acceleration capabilities, please refer to [Searchium.ai](https://www.searchium.ai)
51
  """
@@ -113,8 +113,8 @@ class NearestNeighbors:
113
  return sim, idx
114
 
115
 
116
- model = CLIPTextModelWithProjection.from_pretrained("Diangle/clip4clip-webvid")
117
- tokenizer = CLIPTokenizer.from_pretrained("Diangle/clip4clip-webvid")
118
 
119
  def search(search_sentence):
120
  inputs = tokenizer(text=search_sentence , return_tensors="pt")
 
43
  </html>
44
  """
45
 
46
+ DESCRIPTION="""Welcome to our video retrieval demo powered by [Searchium-ai/clip4clip-webvid150k](https://huggingface.co/Searchium-ai/clip4clip-webvid150k)! <br>
47
+ Using free text search - you will find the top 5 most relevant videos among a dataset of 1.5 million videos. <br>
48
+ Discover, explore, and enjoy the world of video search at your fingertips.
49
  """
50
  ENDING = """For search acceleration capabilities, please refer to [Searchium.ai](https://www.searchium.ai)
51
  """
 
113
  return sim, idx
114
 
115
 
116
+ model = CLIPTextModelWithProjection.from_pretrained("Searchium-ai/clip4clip-webvid150k")
117
+ tokenizer = CLIPTokenizer.from_pretrained("Searchium-ai/clip4clip-webvid150k")
118
 
119
  def search(search_sentence):
120
  inputs = tokenizer(text=search_sentence , return_tensors="pt")