Spaces:
Running on Zero
Running on Zero
Download app.py from muhammadumar15/zero-spike: direct link, hf CLI and curl.
- Browser
- Download file 221 Bytes
-
https://huggingface.co/spaces/muhammadumar15/zero-spike/resolve/main/app.py
- Command line
-
hf download hf://spaces/muhammadumar15/zero-spike/app.py
-
curl -L -o app.py https://huggingface.co/spaces/muhammadumar15/zero-spike/resolve/main/app.py
221 Bytes
| import gradio as gr | |
| import spaces | |
| def gpu_probe(x): | |
| return x | |
| def ping(name: str) -> str: | |
| return f"ok {name}" | |
| demo = gr.Interface(fn=ping, inputs="text", outputs="text") | |
| demo.launch() | |