Spaces:
Sleeping
Sleeping
Download run.py from divergent-tech/nlt-workflow: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/spaces/divergent-tech/nlt-workflow/resolve/main/run.py
- Command line
-
hf download hf://spaces/divergent-tech/nlt-workflow/run.py
-
curl -L -o run.py https://huggingface.co/spaces/divergent-tech/nlt-workflow/resolve/main/run.py
394 Bytes
| import spaces | |
| import gradio as gr | |
| def zerogpu_compatibility() -> str: | |
| """ | |
| ZeroGPU compatibility hook. | |
| Not required by the actual workflow. | |
| """ | |
| return "ZeroGPU runtime available." | |
| demo = gr.Workflow( | |
| graph="workflow.json", | |
| bind={ | |
| "ZeroGPU Compatibility": zerogpu_compatibility | |
| }, | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() |