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() |
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() |