File size: 396 Bytes
169e0a9 43705db a1d41e2 43705db a1d41e2 43705db bef123d 169e0a9 c261037 169e0a9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import gradio as gr
import random as r
def add2List(num,start,end):
alist = []
blist = []
num = int(num)
start = int(start)
end = int(end)
for i in range(num):
rand=r.randint(1,99),
aList.append(num)
bList.append(num)
bList.sort()
return aList, bList
iface = gr.Interface(fn=add2List, inputs="text", outputs=["text","text"])
iface.launch() |