Switch image gen to ERNIE-Image (API-backed, no GPU quota)\n\nERNIE-Image runs on cpu-basic (calls Baidu's API) so it has zero\nZeroGPU cost. This saves all GPU quota for the TRELLIS.2 3D step.\nAlso adds a dropdown to choose between ERNIE (free) and FLUX (uses quota)."
Fix: remove explicit token= arg — gradio_client auto-reads HF_TOKEN from env\n\nThe Gradio SDK bundled with the Space has an older gradio_client that\nuses hf_token= not token=. Simplest fix: pass no arg at all, since\ngradio_client auto-detects HF_TOKEN from the environment."
Fix chain demo: use gradio_client for reliable file transfer between Spaces\n\nThe raw REST API fails for TRELLIS.2 because it needs files uploaded to its\nserver first — passing URLs from another Space doesn't work. gradio_client\nhandles this transparently (downloads + re-uploads).\n\nAlso added gradio_client to requirements.txt."