RohitGandikota commited on
Commit
6a74362
1 Parent(s): 8115240

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -189,11 +189,11 @@ class Demo:
189
 
190
  iteration = int(iteration / self.nsteps * 1000)
191
 
192
- positive_latents = self.diffuser.predict_noise(iteration, latents_steps[0], positive_text_embeddings, guidance_scale=3)
193
- neutral_latents = self.diffuser.predict_noise(iteration, latents_steps[0], neutral_text_embeddings, guidance_scale=3)
194
 
195
  with finetuner:
196
- negative_latents = self.diffuser.predict_noise(iteration, latents_steps[0], positive_text_embeddings, guidance_scale=3)
197
 
198
  positive_latents.requires_grad = False
199
  neutral_latents.requires_grad = False
 
189
 
190
  iteration = int(iteration / self.nsteps * 1000)
191
 
192
+ positive_latents = self.diffuser.predict_noise(iteration, latents_steps[0], positive_text_embeddings, guidance_scale=1)
193
+ neutral_latents = self.diffuser.predict_noise(iteration, latents_steps[0], neutral_text_embeddings, guidance_scale=1)
194
 
195
  with finetuner:
196
+ negative_latents = self.diffuser.predict_noise(iteration, latents_steps[0], positive_text_embeddings, guidance_scale=1)
197
 
198
  positive_latents.requires_grad = False
199
  neutral_latents.requires_grad = False