omerXfaruq commited on
Commit
6c40b92
1 Parent(s): f435c33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,14 +11,14 @@ model = AutoModel.from_pretrained(model_ckpt)
11
  hidden_dim = model.config.hidden_size
12
  dataset = load_dataset("BounharAbdelaziz/Face-Aging-Dataset")
13
 
14
- MAX_K = 30
15
 
16
  with gr.Blocks() as demo:
17
  gr.Markdown(
18
  """
19
  # Find Your Twins
20
 
21
- Upload your face and find the most similar faces from [Face Aging Dataset](https://huggingface.co/datasets/BounharAbdelaziz/Face-Aging-Dataset) using Google's [VIT](https://huggingface.co/google/vit-base-patch16-224-in21k) model. For best results please use 1x1 ratio face images, take a look at examples. The Vector similarity search is powered by [Upstash Vector](https://upstash.com) 🚀. You can check our blog [post](https://huggingface.co/blog/omerXfaruq/serverless-image-similarity-with-upstash-vector) to learn more.
22
  """
23
  )
24
 
 
11
  hidden_dim = model.config.hidden_size
12
  dataset = load_dataset("BounharAbdelaziz/Face-Aging-Dataset")
13
 
14
+ MAX_K = 50
15
 
16
  with gr.Blocks() as demo:
17
  gr.Markdown(
18
  """
19
  # Find Your Twins
20
 
21
+ Upload your face and find the most similar faces from [Face Aging Dataset](https://huggingface.co/datasets/BounharAbdelaziz/Face-Aging-Dataset) using Google's [VIT](https://huggingface.co/google/vit-base-patch16-224-in21k) model. For best results please use 1x1 ratio face images, take a look at examples. Also increasing count in the advanced section results with more accurate searches. The Vector similarity search is powered by [Upstash Vector](https://upstash.com) 🚀. You can check our blog [post](https://huggingface.co/blog/omerXfaruq/serverless-image-similarity-with-upstash-vector) to learn more.
22
  """
23
  )
24