Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Almahfouz
/
q2
like
0
Sleeping
App
Files
Files
Community
Almahfouz
commited on
Aug 15
Commit
d07028b
•
1 Parent(s):
6144c7e
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+8
-0
app.py
ADDED
Viewed
@@ -0,0 +1,8 @@
1
+
import gradio as gr
2
+
3
+
def greet(c):
4
+
f = c*9/5+32
5
+
return "Temp in F: " + f +"!!"
6
+
7
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
8
+
demo.launch()