Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def if_limited(request):
|
|
66 |
def search_face(file, token_txt, request: gr.Request):
|
67 |
global backend
|
68 |
try:
|
69 |
-
|
70 |
except Exception as e:
|
71 |
gr.Info("Please upload an image file.")
|
72 |
return []
|
|
|
66 |
def search_face(file, token_txt, request: gr.Request):
|
67 |
global backend
|
68 |
try:
|
69 |
+
file1 = handle_file(file)
|
70 |
except Exception as e:
|
71 |
gr.Info("Please upload an image file.")
|
72 |
return []
|