DmitrMakeev
commited on
Update app_base.py
Browse files- app_base.py +4 -47
app_base.py
CHANGED
@@ -71,18 +71,10 @@ def create_demo(model: Model) -> gr.Blocks:
|
|
71 |
)
|
72 |
|
73 |
examples = [
|
|
|
74 |
[
|
75 |
-
"assets/
|
76 |
-
"
|
77 |
-
"canny",
|
78 |
-
7.5,
|
79 |
-
0.75,
|
80 |
-
42,
|
81 |
-
True,
|
82 |
-
],
|
83 |
-
[
|
84 |
-
"assets/org_sketch.png",
|
85 |
-
"a robot, mount fuji in the background, 4k photo, highly detailed",
|
86 |
"sketch",
|
87 |
7.5,
|
88 |
1.0,
|
@@ -107,42 +99,7 @@ def create_demo(model: Model) -> gr.Blocks:
|
|
107 |
42,
|
108 |
True,
|
109 |
],
|
110 |
-
|
111 |
-
"assets/org_zoe.jpg",
|
112 |
-
"A photo of a orchid, 4k photo, highly detailed",
|
113 |
-
"depth-zoe",
|
114 |
-
5.0,
|
115 |
-
1.0,
|
116 |
-
42,
|
117 |
-
True,
|
118 |
-
],
|
119 |
-
[
|
120 |
-
"assets/people.jpg",
|
121 |
-
"A couple, 4k photo, highly detailed",
|
122 |
-
"openpose",
|
123 |
-
5.0,
|
124 |
-
1.0,
|
125 |
-
42,
|
126 |
-
True,
|
127 |
-
],
|
128 |
-
[
|
129 |
-
"assets/depth-midas-image.png",
|
130 |
-
"stormtrooper lecture, 4k photo, highly detailed",
|
131 |
-
"depth-midas",
|
132 |
-
7.5,
|
133 |
-
1.0,
|
134 |
-
42,
|
135 |
-
False,
|
136 |
-
],
|
137 |
-
[
|
138 |
-
"assets/openpose-image.png",
|
139 |
-
"spiderman, 4k photo, highly detailed",
|
140 |
-
"openpose",
|
141 |
-
5.0,
|
142 |
-
1.0,
|
143 |
-
42,
|
144 |
-
False,
|
145 |
-
],
|
146 |
]
|
147 |
|
148 |
with gr.Blocks() as demo:
|
|
|
71 |
)
|
72 |
|
73 |
examples = [
|
74 |
+
|
75 |
[
|
76 |
+
"assets/Mandala_1.jpg",
|
77 |
+
"a mandala, Indian palace fantasy by Stefan Stankovic in the background, light, HD wallpaper",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
"sketch",
|
79 |
7.5,
|
80 |
1.0,
|
|
|
99 |
42,
|
100 |
True,
|
101 |
],
|
102 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
]
|
104 |
|
105 |
with gr.Blocks() as demo:
|