computing / app.py
fxnyyaaaaaa's picture
Update app.py
777ae3f
raw
history blame contribute delete
184 Bytes
import gradio as gr
alist=[]
def add2list(num):
num=int(num)
alist.append(num)
return alist
iface = gr.Interface(fn=add2list, inputs="text", outputs="text")
iface.launch()