Commit ·
fa6712f
1
Parent(s): d2789ce
Update app.py
Browse files12 unmodified lines1314151617181912 unmodified linesprompt, negative_prompt, sampling_steps, guidance_scale, #These are the parameters that control image generationprogress=gr.Progress(track_tqdm=True)): #Shows you a progress bar as your image is generatedimage = pipe( #The function that uses the pipeline to generate imagesprompt, negative_prompt=neg_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 returnedreturn image #Sends the image back to whoever called this function12 unmodified lines1314151617181912 unmodified linesprompt, negative_prompt, sampling_steps, guidance_scale, #These are the parameters that control image generationprogress=gr.Progress(track_tqdm=True)): #Shows you a progress bar as your image is generatedimage = pipe( #The function that uses the pipeline to generate imagesprompt, 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 returnedreturn image #Sends the image back to whoever called this function
app.py+1-1