computing2 / app.py
thanasorn's picture
Update app.py
e52ddd2
raw
history blame contribute delete
187 Bytes
import gradio as gr
alist=[]
def add2lis(num):
num=int(num)
alist.append(num)
return alist
iface = gr.Interface(fn=add2lis, inputs="text", outputs="text")
iface.launch()