Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,13 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
aList = []
|
3 |
bList = []
|
4 |
def add2List(num):
|
5 |
-
num = int(num
|
6 |
-
|
7 |
-
|
|
|
|
|
8 |
bList.sort()
|
9 |
MAX = max(aList)
|
10 |
MIN = min(aList)
|
|
|
1 |
import gradio as gr
|
2 |
+
import random as rd
|
3 |
aList = []
|
4 |
bList = []
|
5 |
def add2List(num):
|
6 |
+
num = int(num
|
7 |
+
for i in range(nam):
|
8 |
+
r = rd.randint(1,100)
|
9 |
+
aList.append(r)
|
10 |
+
bList.append(r)
|
11 |
bList.sort()
|
12 |
MAX = max(aList)
|
13 |
MIN = min(aList)
|