Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
nxnxw
/
computing
like
0
Runtime error
App
Files
Files
Community
nxnxw
commited on
Jan 27, 2023
Commit
8ee0f4e
•
1 Parent(s):
2c433d3
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+9
-0
app.py
ADDED
Viewed
@@ -0,0 +1,9 @@
1
+
import gradio as gr
2
+
alist=[]
3
+
def add21ist(name):
4
+
num=int(num)
5
+
alist.append(num)
6
+
return alist
7
+
8
+
iface = gr.Interface(fn=add21ist, inputs="text", outputs="text")
9
+
iface.lanuch()