Q2test / app.py
ayajoharji's picture
Create app.py
e651c49 verified
raw
history blame contribute delete
188 Bytes
import gradio as gr
def c_to_f(c):
f = c * 9/5 + 32
return f"{c} celcius is equal to {f} fehrenhite"
demo = gr.Interface(fn=c_to_f, inputs="number", outputs="text")
demo.launch()