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