wifix199 commited on
Commit
e2f8f8a
·
verified ·
1 Parent(s): bcd5c1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ pipe.to("cpu") # Ensure it runs on CPU
9
 
10
  def generate_image(prompt, pipe):
11
  # Generate the image using the pipeline
12
- image = pipe(prompt, guidance_scale=7.5, num_inference_steps=50).images[0]
13
  return image
14
 
15
  def chatbot(prompt):
 
9
 
10
  def generate_image(prompt, pipe):
11
  # Generate the image using the pipeline
12
+ image = pipe(prompt).images[0]
13
  return image
14
 
15
  def chatbot(prompt):