8b73048
c2ff93d
|
|
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 |