ayajoharji commited on
Commit
e651c49
1 Parent(s): cfbffb7

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def c_to_f(c):
4
+ f = c * 9/5 + 32
5
+ return f"{c} celcius is equal to {f} fehrenhite"
6
+
7
+ demo = gr.Interface(fn=c_to_f, inputs="number", outputs="text")
8
+ demo.launch()