Krebzonide commited on
Commit
00b3c84
1 Parent(s): 5e2764c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def generate( #Creates a function called "generate" that takes creates the image
13
  prompt, negative_prompt, sampling_steps, guidance_scale, #These are the parameters that control image generation
14
  progress=gr.Progress(track_tqdm=True)): #Shows you a progress bar as your image is generated
15
  image = pipe( #The function that uses the pipeline to generate images
16
- prompt, negative_prompt=negative_prompt, num_inference_steps=sampling_steps, guidance_scale=guidance_scale #The parameters that the pipeline will use
17
  ).images[0] #Separates the image from the other data returned
18
  return image #Sends the image back to whoever called this function
19
 
 
13
  prompt, negative_prompt, sampling_steps, guidance_scale, #These are the parameters that control image generation
14
  progress=gr.Progress(track_tqdm=True)): #Shows you a progress bar as your image is generated
15
  image = pipe( #The function that uses the pipeline to generate images
16
+ prompt, 768, negative_prompt=negative_prompt, num_inference_steps=sampling_steps, guidance_scale=guidance_scale #The parameters that the pipeline will use
17
  ).images[0] #Separates the image from the other data returned
18
  return image #Sends the image back to whoever called this function
19