Atom007 commited on
Commit
5208420
1 Parent(s): 7b49548

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,4 +25,4 @@ def genie (prompt, negative_prompt, scale, steps, seed):
25
  image = refiner(prompt=prompt, image=int_image).images[0]
26
  return image
27
 
28
- gr.Interface(fn=genie, inputs=[gr.Textbox(label='What you want the AI to generate. 77 Token Limit.'), gr.Textbox(label='What you Do Not want the AI to generate.'), gr.Slider(1, 15, 10), gr.Slider(25, maximum=50, value=25, step=1), gr.Slider(minimum=1, step=1, maximum=999999999999999999, randomize=True)], outputs='image', title="Stable Diffusion XL .9 CPU", description="SDXL .9 CPU. <b>WARNING:</b> Extremely Slow. 65s/Iteration. Expect 25-50mins an image for 25-50 iterations respectively.", article = "Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>").launch(debug=True, max_threads=80)
 
25
  image = refiner(prompt=prompt, image=int_image).images[0]
26
  return image
27
 
28
+ gr.Interface(fn=genie, inputs=[gr.Textbox(label='What you want the AI to generate. 77 Token Limit.'), gr.Textbox(label='What you Do Not want the AI-model to generate.'), gr.Slider(1, 15, 10), gr.Slider(25, maximum=50, value=25, step=1), gr.Slider(minimum=1, step=1, maximum=999999999999999999, randomize=True)], outputs='image', title="Stable Diffusion XL base 9 CPU", description="SDXL-base-9 CPU. <b>WARNING:</b> Extremely Slow. 65seconds/Iteration. Expected time to wait 25-50 minutes for an image of 25-50 iterations respectively.", article = "Code: <a href=\"https://huggingface.co/Atom007\">Atom007</a>").launch(debug=True, max_threads=80)