hideosnes commited on
Commit
f8c0a4c
1 Parent(s): a812434

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -25,12 +25,12 @@ def img2img(source_img, prompt, strength):
25
  image = pipe(prompt=prompt, image=src, mask_image=mask, num_inference_steps=6, strength=strength, guidance_scale=0.0).images[0]
26
  return image
27
 
28
- title="SDXL Turbo Inpainting CPU"
29
- description="Inpainting with SDXL Turbo <br><br> <b>Please use square .png image as input, 512x512, 768x768, or 1024x1024</b>"
30
  gr.Interface(fn=img2img, inputs=[gr.Image(source="upload", tool="sketch", label="Source Image"),
31
  gr.Textbox(label='What you want the AI to Generate, 77 Token limit'),
32
  gr.Slider(minimum=.5, maximum=1, value=.75, step=.025, label='Strength')],
33
  outputs='image',
34
  title=title,
35
- description=description,
36
- article = "Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>").launch(max_threads=True, debug=True)
 
25
  image = pipe(prompt=prompt, image=src, mask_image=mask, num_inference_steps=6, strength=strength, guidance_scale=0.0).images[0]
26
  return image
27
 
28
+ title="SDXLturbo CPU/GPU"
29
+ description="GoldExtra Preview OpenCV --> <b>I2I (Zeichnung > 2.5D)</b> --> "
30
  gr.Interface(fn=img2img, inputs=[gr.Image(source="upload", tool="sketch", label="Source Image"),
31
  gr.Textbox(label='What you want the AI to Generate, 77 Token limit'),
32
  gr.Slider(minimum=.5, maximum=1, value=.75, step=.025, label='Strength')],
33
  outputs='image',
34
  title=title,
35
+ description=description
36
+ # article = "Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>").launch(max_threads=True, debug=True)