File size: 184 Bytes
defb35d
 
cd1c56b
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import gradio as gr

def celsius_to_fahrenheit(celsius):
  
    return celsius * 9/5 + 32

demo = gr.Interface(fn=celsius_to_fahrenheit, inputs="number", outputs="text")
demo.launch()