dwancin commited on
Commit
59f78bc
1 Parent(s): e77f2b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def recognize_face(image_path):
23
  if not SPACE_SUBDOMAIN:
24
  raise ValueError("SPACE_SUBDOMAIN environment variable is not set")
25
 
26
- # Convert the local file path to a URL path
27
  image_url = f"https://{SPACE_SUBDOMAIN}.hf.space/file={image_path}"
28
 
29
  # Set the URL to your FastAPI endpoint
 
23
  if not SPACE_SUBDOMAIN:
24
  raise ValueError("SPACE_SUBDOMAIN environment variable is not set")
25
 
26
+ # Construct the image URL using the full path
27
  image_url = f"https://{SPACE_SUBDOMAIN}.hf.space/file={image_path}"
28
 
29
  # Set the URL to your FastAPI endpoint