stchakman commited on
Commit
ea5f1ff
·
1 Parent(s): d1488a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def generate_dishes(ingredients, n=3, max_tokens=150, temperature=0.7):
53
 
54
  def generate_image(prompt):
55
  model_id = "runwayml/stable-diffusion-v1-5"
56
- pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
57
 
58
  # If you have a GPU available, uncomment the following line
59
  # pipe = pipe.to("cuda")
 
53
 
54
  def generate_image(prompt):
55
  model_id = "runwayml/stable-diffusion-v1-5"
56
+ pipe = StableDiffusionPipeline.from_pretrained(model_id)
57
 
58
  # If you have a GPU available, uncomment the following line
59
  # pipe = pipe.to("cuda")