Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,14 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
3 |
-
|
4 |
def add2List(num):
|
|
|
|
|
5 |
num = int(num)
|
6 |
-
|
7 |
-
|
|
|
|
|
8 |
bList.sort()
|
9 |
return aList, bList
|
10 |
|
|
|
1 |
import gradio as gr
|
2 |
+
import random as r
|
3 |
+
|
4 |
def add2List(num):
|
5 |
+
aList = []
|
6 |
+
bList = []
|
7 |
num = int(num)
|
8 |
+
for i in range(num):
|
9 |
+
rand=r.randint(1,99)
|
10 |
+
aList.append(rand)
|
11 |
+
bList.append(rand)
|
12 |
bList.sort()
|
13 |
return aList, bList
|
14 |
|