Shahadbal commited on
Commit
8d5ebfd
1 Parent(s): 8269cad

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
+ #°F = °C * 9/5 + 32
3
+ def greet(input):
4
+ result = input*(9/5)+32
5
+ return "The Celsius degree"+input + "is in Fahrenheit"+ result + "degree"
6
+
7
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
8
+ demo.launch()