computing / app.py
Hupapron's picture
Update app.py
6918b5f
raw
history blame
247 Bytes
import gradio as gr
aList=[]
bList=[]
def add2List(num):
num=int(num)
aList.append(num)
bList.append(num)
bList.sort()
return aList,bList
iface = gr.Interface(fn=add2List, inputs="text", outputs=["text","text"])
iface.launch()