computing32 / app.py
Shereen's picture
Update app.py
82a9bc1
raw
history blame contribute delete
No virus
340 Bytes
import gradio as gr
import random as r
def add2List(num):
aList=[]
bList=[]
num = int(num)
for i in range(num):
rand=r.randint(1,99)
aList.append(rand)
bList.append(rand)
bList.sort()
return aList,bList
iface = gr.Interface(fn=add2List, inputs="text", outputs=["text","text"])
iface.launch()