File size: 167 Bytes
a2f3460
e244ab1
 
 
 
 
 
223ae4d
1
2
3
4
5
6
7
8
9
import gradio as gr

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

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