File size: 289 Bytes
2606a9a
 
 
 
 
 
 
f1c35d7
2606a9a
1
2
3
4
5
6
7
8
9
import gradio as gr

def Celsius_To_Fahrenheit(input):
    C=eval(input)
    F=C * 9/5 + 32
    return F

demo = gr.Interface(fn=Celsius_To_Fahrenheit, inputs="text", outputs="text",description="Enter temperature in Celsius and the output being the conversion to Fahrenheit")
demo.launch()