Spaces:
Sleeping
Sleeping
File size: 394 Bytes
c01955c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
import os
import sys
sys.path.append(os.getcwd())
from logger import *
import asyncio
from src.Predictors.pipelines.faceFinder_pipeline import FaceFinderPipeline
from PIL import Image
async def main():
face_finder_pipeline=FaceFinderPipeline()
img=Image.open("test_content/test1.jpg")
res=await face_finder_pipeline.initiate(img=img)
print(res)
asyncio.run(main())
|