Spaces:
Runtime error
Runtime error
Download testing/test.py from CaffeineCrew/Techdocs: direct link, hf CLI and curl.
- Browser
- Download file 329 Bytes
-
https://huggingface.co/spaces/CaffeineCrew/Techdocs/resolve/3d45530a6ea1c6d8b2f3900a5c09510cce224cc0/testing/test.py
- Command line
-
hf download hf://spaces/CaffeineCrew/Techdocs@3d45530a6ea1c6d8b2f3900a5c09510cce224cc0/testing/test.py
-
curl -L -o test.py https://huggingface.co/spaces/CaffeineCrew/Techdocs/resolve/3d45530a6ea1c6d8b2f3900a5c09510cce224cc0/testing/test.py
329 Bytes
| def add(a, b): | |
| return a + b | |
| def multiply(a, b): | |
| return a * b | |
| def subtract(a, b): | |
| return a - b | |
| def divide(a, b): | |
| if b == 0: | |
| raise ValueError("Cannot divide by zero") | |
| return a / b | |
| def func(*args, **kwargs): | |
| def wrapper(*args, **kwargs): | |
| return func(*args, **kwargs) | |
| return wrapper |