Spaces:
No application file
No application file
Download main.py from EddyGiusepe/Simple_AWS_Lambda_Function_Example: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/spaces/EddyGiusepe/Simple_AWS_Lambda_Function_Example/resolve/main/main.py
- Command line
-
hf download hf://spaces/EddyGiusepe/Simple_AWS_Lambda_Function_Example/main.py
-
curl -L -o main.py https://huggingface.co/spaces/EddyGiusepe/Simple_AWS_Lambda_Function_Example/resolve/main/main.py
281 Bytes
| #! /usr/bin/env python3 | |
| """ | |
| Senior Data Scientist.: Dr. Eddy Giusepe Chirinos Isidro | |
| """ | |
| import random | |
| def random_drink(): | |
| drinks = ["café", "chá", "cerveja", "vinho", "água", "suco"] | |
| return random.choice(drinks) | |
| if __name__ == "__main__": | |
| print(random_drink()) | |