mattb512 commited on
Commit
c2711e7
·
1 Parent(s): 88bb627

single example

Browse files
Files changed (1) hide show
  1. app.py +14 -15
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", None, None, None, 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
-
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
- ["p1", None, 0.3, None, 5, None],
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)]