Week1TestQ2 / app.py
ghadaAlmuaikel's picture
Update app.py
f1c35d7 verified
raw
history blame
289 Bytes
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()