yaron123 commited on
Commit
8af55c9
·
1 Parent(s): ddaa220
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -502,9 +502,8 @@ function custom(){
502
  # torch pipes
503
 
504
  image_pipe = FluxPipeline.from_pretrained(base, torch_dtype=torch.bfloat16).to(device)
505
- #image_pipe.enable_model_cpu_offload()
506
 
507
- pegasus_tokenizer = PegasusTokenizerFast.from_pretrained("google/pegasus-xsum"),
508
  pegasus_model = PegasusForConditionalGeneration.from_pretrained("google/pegasus-xsum")
509
 
510
  # functionality
 
502
  # torch pipes
503
 
504
  image_pipe = FluxPipeline.from_pretrained(base, torch_dtype=torch.bfloat16).to(device)
 
505
 
506
+ pegasus_tokenizer = PegasusTokenizerFast.from_pretrained("google/pegasus-xsum")
507
  pegasus_model = PegasusForConditionalGeneration.from_pretrained("google/pegasus-xsum")
508
 
509
  # functionality