Spaces:
Running
Running
Update demo.py
Browse files
demo.py
CHANGED
|
@@ -2,6 +2,8 @@ import gradio as gr
|
|
| 2 |
import requests
|
| 3 |
import datadog_api_client
|
| 4 |
from gradio.components import Image
|
|
|
|
|
|
|
| 5 |
|
| 6 |
def compare_face(frame1, frame2):
|
| 7 |
url = "http://127.0.0.1:8080/compare_face"
|
|
|
|
| 2 |
import requests
|
| 3 |
import datadog_api_client
|
| 4 |
from gradio.components import Image
|
| 5 |
+
from PIL import Image as PILImage, ImageDraw, ImageFont # This import may be needed if you're processing images
|
| 6 |
+
from PIL import Image
|
| 7 |
|
| 8 |
def compare_face(frame1, frame2):
|
| 9 |
url = "http://127.0.0.1:8080/compare_face"
|