Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,9 +27,9 @@ def infer(source_img, prompt, steps, seed, Strength):
|
|
| 27 |
|
| 28 |
gr.Interface(fn=infer, inputs=[
|
| 29 |
gr.Image(sources=["upload", "webcam", "clipboard"], type="filepath", label="Raw Image."),
|
| 30 |
-
gr.Textbox(label = 'Prompt Input Text.
|
| 31 |
gr.Slider(1, 5, value = 2, step = 1, label = 'Number of Iterations'),
|
| 32 |
gr.Slider(label = "Seed", minimum = 0, maximum = 987654321987654321, step = 1, randomize = True),
|
| 33 |
gr.Slider(label='Strength', minimum = 0.1, maximum = 1, step = .05, value = .5)],
|
| 34 |
-
outputs='image', title = "Stable Diffusion XL Turbo Image to Image
|
| 35 |
article = "<a href=\"https://huggingface.co/smartdigitalnetworks\">Smart Digital Networks</a>").queue(max_size=10).launch()
|
|
|
|
| 27 |
|
| 28 |
gr.Interface(fn=infer, inputs=[
|
| 29 |
gr.Image(sources=["upload", "webcam", "clipboard"], type="filepath", label="Raw Image."),
|
| 30 |
+
gr.Textbox(label = 'Prompt Input Text.'),
|
| 31 |
gr.Slider(1, 5, value = 2, step = 1, label = 'Number of Iterations'),
|
| 32 |
gr.Slider(label = "Seed", minimum = 0, maximum = 987654321987654321, step = 1, randomize = True),
|
| 33 |
gr.Slider(label='Strength', minimum = 0.1, maximum = 1, step = .05, value = .5)],
|
| 34 |
+
outputs='image', title = "Stable Diffusion XL Turbo Image to Image CPU", description = "Upload an Image, Use your Cam, or Paste an Image. Then enter a Prompt, then click submit.",
|
| 35 |
article = "<a href=\"https://huggingface.co/smartdigitalnetworks\">Smart Digital Networks</a>").queue(max_size=10).launch()
|