manbeast3b commited on
Commit
4cfe51d
·
verified ·
1 Parent(s): af5e6f7

Update src/pipeline.py

Browse files
Files changed (1) hide show
  1. src/pipeline.py +1 -1
src/pipeline.py CHANGED
@@ -145,7 +145,7 @@ def load_pipeline() -> Pipeline:
145
  return pipeline
146
 
147
 
148
- sample = False
149
  @torch.inference_mode()
150
  def infer(request: TextToImageRequest, pipeline: Pipeline, generator: Generator) -> Image:
151
  global sample
 
145
  return pipeline
146
 
147
 
148
+ sample = True
149
  @torch.inference_mode()
150
  def infer(request: TextToImageRequest, pipeline: Pipeline, generator: Generator) -> Image:
151
  global sample