Kolapo Oshodi

Results 8 comments of Kolapo Oshodi

task1.execute() or task1.output should work for you.

The error is caused by the url returning no response. Client Error: Not Found for url: https://elevatedbygrace.org/wp-admin/admin-ajax.php

Any update on this yet? The docs aren't too helpful.

Check out the ``task.execute()`` method. That's what I use to get the output of a task and then move on to the next task or perform some operations. You can...

@iplayfast Can you elaborate more on this or provide a little code snippet? Thanks!

Check out the ``task.execute()`` method. Thats what I use to get the output of a task and then move on to the next task or perform some operations. You can...

You can use with gradio, check out. ```pip install gradio_client``` from gradio_client import Client, handle_file client = Client("microsoft/OmniParser") result = client.predict( image_input=handle_file('https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png'), box_threshold=0.05, iou_threshold=0.1, api_name="/process" ) print(result) https://huggingface.co/spaces/microsoft/OmniParser

You can host on Fly.io easily using a Dockerfile found in this repo. https://github.com/addy999/omniparser-api