Spaces:
Sleeping
Sleeping
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() |