Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| def c_to_f(c): | |
| f = c * 9/5 + 32 | |
| return f"{c} celcius is equal to {f} fehrenhite" | |
| demo = gr.Interface(fn=c_to_f, inputs="number", outputs="text") | |
| demo.launch() |