import gradio as gr def greet(input): f =float(input) return f * 9/5 + 3 demo = gr.Interface(fn=greet, inputs='text', outputs='text')