Download app.py from RanAlh443/test4: direct link, hf CLI and curl.
- Browser
- Download file 177 Bytes
-
https://huggingface.co/spaces/RanAlh443/test4/resolve/main/app.py
- Command line
-
hf download hf://spaces/RanAlh443/test4/app.py
-
curl -L -o app.py https://huggingface.co/spaces/RanAlh443/test4/resolve/main/app.py
177 Bytes
| import gradio as gr | |
| def convertToF(input): | |
| Cels=float(input) | |
| return (Cels * 9/5) + 32 | |
| demo = gr.Interface(fn=convertToF, inputs="text", outputs="text") | |
| demo.launch() |