If everything didn’t work, I would understand, but it seems that some of it works. It’s a strange behavior.
from gradio_client import Client, handle_file
client = Client("stabilityai/stable-fast-3d")
result = client.predict( # it works.
image=handle_file('https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png'),
fr=0.85,
api_name="/requires_bg_remove"
)
print(result)
result = client.predict( # it fails.
input_image=handle_file('https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png'),
foreground_ratio=0.85,
remesh_option="None",
vertex_count=-1,
texture_size=1024,
api_name="/run_button"
)
print(result)