Spaces:
Runtime error
Runtime error
from gradio_client import Client | |
client = Client("https://pawelmar-lettucesegmentapi.hf.space/--replicas/gphkd/") | |
result = client.predict( | |
"./media-directory/example_input.png", # filepath in 'Input Image' Image component | |
api_name="/predict" | |
) | |
print(result) | |