Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	| 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() |