osamaifti commited on
Commit
1d119c4
·
1 Parent(s): a2a1b80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,10 +1,13 @@
1
  import gradio as gr
2
- import torch torchvision transformers
 
 
3
  import numpy as np
4
  from scipy.spatial.distance import cosine
5
  import cv2
6
  import os
7
 
 
8
  RECOGNITION_THRESHOLD = 0.3
9
 
10
  # Assuming the PyTorch model is a ResNet (or similar) and has been trained accordingly
 
1
  import gradio as gr
2
+ import torch
3
+ import torchvision
4
+ import transformers
5
  import numpy as np
6
  from scipy.spatial.distance import cosine
7
  import cv2
8
  import os
9
 
10
+
11
  RECOGNITION_THRESHOLD = 0.3
12
 
13
  # Assuming the PyTorch model is a ResNet (or similar) and has been trained accordingly