jclyo1 commited on
Commit
a29957a
1 Parent(s): e1da8ff

changed model_name

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -26,7 +26,7 @@ def generate_image(prompt, model):
26
  modelVersion = modelArray[1]
27
 
28
  pipeline = StableDiffusionPipeline.from_pretrained(
29
- str(model), torch_dtype=torch.float16
30
  )
31
  pipeline.scheduler = EulerDiscreteScheduler.from_config(pipeline.scheduler.config)
32
  pipeline = pipeline.to("cuda")
 
26
  modelVersion = modelArray[1]
27
 
28
  pipeline = StableDiffusionPipeline.from_pretrained(
29
+ str(modelName), torch_dtype=torch.float16
30
  )
31
  pipeline.scheduler = EulerDiscreteScheduler.from_config(pipeline.scheduler.config)
32
  pipeline = pipeline.to("cuda")