Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,10 @@ def add2List(num):
|
|
6 |
aList.append(num)
|
7 |
bList.append(num)
|
8 |
bList.sort()
|
9 |
-
|
|
|
|
|
|
|
10 |
|
11 |
-
iface = gr.Interface(fn=add2List, inputs="text", outputs=["text","text"])
|
12 |
iface.launch()
|
|
|
6 |
aList.append(num)
|
7 |
bList.append(num)
|
8 |
bList.sort()
|
9 |
+
Max=max(aList)
|
10 |
+
Min=min(aList)
|
11 |
+
Mean=sum(aList)/len(aList)
|
12 |
+
return aList,bList,Max,Min,Mean
|
13 |
|
14 |
+
iface = gr.Interface(fn=add2List, inputs="text", outputs=["text","text","text","text","text"])
|
15 |
iface.launch()
|