Week1TestQ2 / app.py
ghadaAlmuaikel's picture
Create app.py
2606a9a verified
raw
history blame
196 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")
demo.launch()