Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
bilegentile
/
test
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
c19ca42
test
/
modules
/
dml
/
Generator.py
bilegentile
Upload folder using huggingface_hub
c19ca42
verified
about 1 year ago
raw
Copy download link
history
blame
Safe
172 Bytes
from
typing
import
Optional
import
torch
class
Generator
(torch.Generator):
def
__init__
(
self, device:
Optional
[torch.device] =
None
):
super
().__init__(
"cpu"
)