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