Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -122,14 +122,10 @@ generator_rbm = core.load_model(generator_rbm, 'generator')
|
|
122 |
# Create models_rbm instance
|
123 |
models_rbm = core.Models(
|
124 |
effnet=models.effnet,
|
125 |
-
previewer=models.previewer,
|
126 |
-
generator=generator_rbm,
|
127 |
-
generator_ema=models.generator_ema,
|
128 |
-
tokenizer=models.tokenizer,
|
129 |
text_model=models.text_model,
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
)
|
134 |
|
135 |
def reset_inference_state():
|
|
|
122 |
# Create models_rbm instance
|
123 |
models_rbm = core.Models(
|
124 |
effnet=models.effnet,
|
|
|
|
|
|
|
|
|
125 |
text_model=models.text_model,
|
126 |
+
tokenizer=models.tokenizer,
|
127 |
+
generator=generator_rbm,
|
128 |
+
previewer=models.previewer
|
129 |
)
|
130 |
|
131 |
def reset_inference_state():
|