Commit ·
fa6712f
1
Parent(s): d2789ce
Update app.py
Browse files12 unmodified lines131415161617181912 unmodified lines prompt, negative_prompt, sampling_steps, guidance_scale, #These are the parameters that control image generation progress=gr.Progress(track_tqdm=True)): #Shows you a progress bar as your image is generated image = pipe( #The function that uses the pipeline to generate images prompt, negative_prompt=neg_prompt, num_inference_steps=sampling_steps, guidance_scale=guidance_scale #The parameters that the pipeline will use prompt, negative_prompt=negative_prompt, num_inference_steps=sampling_steps, guidance_scale=guidance_scale #The parameters that the pipeline will use ).image #Separates the image from the other data returned return image #Sends the image back to whoever called this function app.py+1-1