copm / app.py
sonobit's picture
Update app.py
8702445
raw
history blame contribute delete
242 Bytes
import gradio as gr
aList = []
bList = []
def pushList(num):
aList.append(int(num))
bList = list(aList)
bList.sort()
return aList, bList
iface = gr.Interface(fn=pushList, inputs="text", outputs=["text","text"])
iface.launch()