File size: 190 Bytes
a2f3460
e244ab1
 
419c957
e244ab1
419c957
e244ab1
 
419c957
1
2
3
4
5
6
7
8
9
import gradio as gr

def fah (cel):
    cel=float(cel)
    fah=cel*9/5+23
    return "fahrenheit: " + str(fah) + "f"

demo = gr.Interface(fn=fah, inputs="text", outputs="text")
demo.launch()