Download main.py from do-2021/activator-keyword-detector: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/do-2021/activator-keyword-detector/resolve/main/main.py
- Command line
-
hf download hf://do-2021/activator-keyword-detector/main.py
-
curl -L -o main.py https://huggingface.co/do-2021/activator-keyword-detector/resolve/main/main.py
311 Bytes
| import torch | |
| import torch.nn as nn | |
| import torch | |
| import torch.nn as nn | |
| import torch.nn.functional as F | |
| import torch.optim as optim | |
| import torchaudio | |
| import matplotlib.pyplot as plt | |
| import IPython.display as ipd | |
| def main(): | |
| # Your code here | |
| print("Hello, world!") | |
| if __name__ == "__main__": | |
| main() |