ghadaAlmuaikel commited on
Commit
2606a9a
1 Parent(s): ba21ab3

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def Celsius_To_Fahrenheit(input):
4
+ C=eval(input)
5
+ F=C * 9/5 + 32
6
+ return F
7
+
8
+ demo = gr.Interface(fn=Celsius_To_Fahrenheit, inputs="text", outputs="text")
9
+ demo.launch()