Spaces:
Runtime error
Runtime error
Download app.py from kulaaaaaaaaaaaaaaaaaaaaaa/computing: direct link, hf CLI and curl.
- Browser
- Download file 360 Bytes
-
https://huggingface.co/spaces/kulaaaaaaaaaaaaaaaaaaaaaa/computing/resolve/main/app.py
- Command line
-
hf download hf://spaces/kulaaaaaaaaaaaaaaaaaaaaaa/computing/app.py
-
curl -L -o app.py https://huggingface.co/spaces/kulaaaaaaaaaaaaaaaaaaaaaa/computing/resolve/main/app.py
360 Bytes
| import gradio as gr | |
| aList = [] | |
| bList = [] | |
| def add2List(num): | |
| num = int(num) | |
| aList.append(num) | |
| bList.append(num) | |
| bList.sort() | |
| Max=max(aList) | |
| Min=min(aList) | |
| Mean=sum(aList)/len(aList) | |
| return aList,bList,Max,Min,Mean | |
| iface = gr.Interface(fn=add2List, inputs="text", outputs=["text","text","text","text","text"]) | |
| iface.launch() |