nojoodtest2 / app.py
Nojoodalnahdi's picture
Update app.py
c220eb7 verified
raw
history blame
185 Bytes
import gradio as gr
def fah (cel):
cel=float(cel)
fah=cel*9/5+23
return "fahrenheit: " + fah + "f"
demo = gr.Interface(fn=fah, inputs="text", outputs="text")
demo.launch()