Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def recognize_face(image):
|
|
46 |
image_file = get_image_with_auth(image_path)
|
47 |
formatted_json = json.dumps(response_data, indent=4)
|
48 |
info = f"```json\n{formatted_json}\n```"
|
49 |
-
print(
|
50 |
return image_file, info
|
51 |
else:
|
52 |
info = "No image path found in response."
|
|
|
46 |
image_file = get_image_with_auth(image_path)
|
47 |
formatted_json = json.dumps(response_data, indent=4)
|
48 |
info = f"```json\n{formatted_json}\n```"
|
49 |
+
print(formatted_json)
|
50 |
return image_file, info
|
51 |
else:
|
52 |
info = "No image path found in response."
|