rad / funciones.py
Moibe's picture
Image processing
c2ff93d
raw
history blame
254 Bytes
from gradio_client import Client, handle_file
def procesa_dni(image):
print(image)
client = Client("Moibe/api_rapicash")
result = client.predict(
img=handle_file('dnid.png'),
lang="en",
api_name="/predict"
)
print(result)
return result