Spaces:
Running on Zero
Running on Zero
gradio server + workflow app
#3
by akhaliq HF Staff - opened
akhaliq changed pull request status to open
Thanks for adding this.
Before merging, we pushed a few more commits on top:
- Some hardening on the new endpoints. Because the
gr.Serverendpoints take plain strings rather than Gradio file components, they skip Gradio's usual path and URL checks. The new commits limit inputs to uploaded files and tighten a few related spots: temp file serving, the login redirect page, a step cap and the request queue. - Dropped the
write-reposOAuth scope. It would give the Space write access to every signed-in visitor's repos. Saving the graph back to the Space is off as a result, and the README now says so. - Fixed a startup ordering issue. Mounting the workflow before the loopback
launch()/close()started its queue on the loopback server's event loop./workflowruns were accepted but never ran. Mounting it afterclose()fixes it. - Pointed the studio examples at
example_images/, since #4 renamed them.
Each change is its own commit if you'd like to look through them.
tingled changed pull request status to merged
