Embedding Spaces with auth for public models counter-intuitive?

Thanks for responding @o0o0o00o0 . I have made it public.
Just in case I misunderstood the instruction, here’s my code for the new HF space, which should take image inputs from users and output images:

import os
from gradio_client import Client
HF_token = os.environ.get('HF_token')
client = Client('xxx/yyy', hf_token=HF_token ) 

The new space actually resulted in a runtime error:

Loaded as API: https://xxx-yyy.hf.space

and this API above is what I was referring to as not sharable.

2 Likes