Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
warakan
/
compuping
like
0
Runtime error
App
Files
Files
Community
warakan
commited on
Dec 6, 2022
Commit
a056e8d
•
1 Parent(s):
9a89fe2
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 add2IList(num):
4
+
num = int(num)
5
+
aList.append(num)
6
+
return aList
7
+
8
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
9
+
iface.launch()