Spaces:
Runtime error
Runtime error
Update random_charactor_generator.py
Browse files
random_charactor_generator.py
CHANGED
@@ -19,7 +19,7 @@ class RandomCharatorGeneratorTool:
|
|
19 |
self.pipeline = None
|
20 |
self.hub_kwargs = hub_kwargs
|
21 |
|
22 |
-
|
23 |
#if self.device is None:
|
24 |
# self.device = get_default_device()
|
25 |
|
|
|
19 |
self.pipeline = None
|
20 |
self.hub_kwargs = hub_kwargs
|
21 |
|
22 |
+
def setup(self):
|
23 |
#if self.device is None:
|
24 |
# self.device = get_default_device()
|
25 |
|