Spaces:
Sleeping
Sleeping
single example
Browse files
app.py
CHANGED
|
@@ -41,25 +41,24 @@ iface = gr.Interface(
|
|
| 41 |
gr.Image(type="pil", label="Starting Image with Added Noise" ) ],
|
| 42 |
examples=[
|
| 43 |
# simple prompt
|
| 44 |
-
["a cute dog",
|
| 45 |
|
| 46 |
-
# negative prompt
|
| 47 |
-
["a beautiful tree", None, None, "green", 5, None],
|
| 48 |
|
| 49 |
-
["a dancer, high resolution, 4k", None, None, None, 5, None],
|
| 50 |
|
| 51 |
-
# with base image
|
| 52 |
-
["a painting of Paris at night in the style of Monet", None, None, None, 5, os.path.join( os.path.dirname(__file__), "examples/ex4.jpg")],
|
| 53 |
|
| 54 |
-
|
| 55 |
-
["p1", None, 0.3, None, 5, None],
|
| 56 |
-
["p1", None, 0.3, None, 5, None],
|
| 57 |
-
["p1", None, 0.3, None, 5, None],
|
| 58 |
-
["p1", None, 0.3, None, 5, None],
|
| 59 |
-
["p1", None, 0.3, None, 5, None],
|
| 60 |
-
["p1", None, 0.3, None, 5, None],
|
| 61 |
-
|
| 62 |
-
]
|
| 63 |
)
|
| 64 |
|
| 65 |
# [(os.path.join(os.path.dirname(__file__), f"examples/ex{x}.jpg")) for x in range(1,11)]
|
|
|
|
| 41 |
gr.Image(type="pil", label="Starting Image with Added Noise" ) ],
|
| 42 |
examples=[
|
| 43 |
# simple prompt
|
| 44 |
+
["a cute dog", "", 0.3, "", 5, None],
|
| 45 |
|
| 46 |
+
# # negative prompt
|
| 47 |
+
# ["a beautiful tree", None, None, "green", 5, None],
|
| 48 |
|
| 49 |
+
# ["a dancer, high resolution, 4k", None, None, None, 5, None],
|
| 50 |
|
| 51 |
+
# # with base image
|
| 52 |
+
# ["a painting of Paris at night in the style of Monet", None, None, None, 5, os.path.join( os.path.dirname(__file__), "examples/ex4.jpg")],
|
| 53 |
|
| 54 |
+
# ["p1", None, 0.3, None, 5, None],
|
| 55 |
+
# ["p1", None, 0.3, None, 5, None],
|
| 56 |
+
# ["p1", None, 0.3, None, 5, None],
|
| 57 |
+
# ["p1", None, 0.3, None, 5, None],
|
| 58 |
+
# ["p1", None, 0.3, None, 5, None],
|
| 59 |
+
# ["p1", None, 0.3, None, 5, None],
|
| 60 |
+
# ["p1", None, 0.3, None, 5, None],
|
| 61 |
+
]
|
|
|
|
| 62 |
)
|
| 63 |
|
| 64 |
# [(os.path.join(os.path.dirname(__file__), f"examples/ex{x}.jpg")) for x in range(1,11)]
|