fffiloni commited on
Commit
8cbd2c7
·
verified ·
1 Parent(s): 52cb438

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
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
- image_model=models.image_model,
131
- stage_a=models.stage_a,
132
- stage_b=models.stage_b,
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():