Spaces:
Running
on
Zero
Running
on
Zero
NightRaven109
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -221,64 +221,64 @@ with gr.Blocks(title="Controllable Conditional Super-Resolution") as demo:
|
|
221 |
with gr.Column():
|
222 |
output_image = gr.Image(label="Generated Image")
|
223 |
|
224 |
-
# Define example data
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
|
|
280 |
]
|
281 |
-
]
|
282 |
|
283 |
# Add gallery of examples
|
284 |
with gr.Row():
|
|
|
221 |
with gr.Column():
|
222 |
output_image = gr.Image(label="Generated Image")
|
223 |
|
224 |
+
# Define example data
|
225 |
+
examples = [
|
226 |
+
[
|
227 |
+
"examples/1.png", # Input image path
|
228 |
+
"clean, texture, high-resolution, 8k", # Prompt
|
229 |
+
"blurry, dotted, noise, raster lines, unclear, lowres, over-smoothed", # Negative prompt
|
230 |
+
3.0, # Guidance scale
|
231 |
+
1.0, # Conditioning scale
|
232 |
+
6, # Num steps
|
233 |
+
42, # Seed
|
234 |
+
4, # Upscale factor
|
235 |
+
"wavelet" # Color fix method
|
236 |
+
],
|
237 |
+
[
|
238 |
+
"examples/22.png",
|
239 |
+
"clean, texture, high-resolution, 8k",
|
240 |
+
"blurry, dotted, noise, raster lines, unclear, lowres, over-smoothed",
|
241 |
+
3.0,
|
242 |
+
1.0,
|
243 |
+
6,
|
244 |
+
123,
|
245 |
+
4,
|
246 |
+
"wavelet"
|
247 |
+
],
|
248 |
+
[
|
249 |
+
"examples/4.png",
|
250 |
+
"clean, texture, high-resolution, 8k",
|
251 |
+
"blurry, dotted, noise, raster lines, unclear, lowres, over-smoothed",
|
252 |
+
3.0,
|
253 |
+
1.0,
|
254 |
+
6,
|
255 |
+
123,
|
256 |
+
4,
|
257 |
+
"wavelet"
|
258 |
+
],
|
259 |
+
[
|
260 |
+
"examples/9D03D7F206775949.png.png",
|
261 |
+
"clean, texture, high-resolution, 8k",
|
262 |
+
"blurry, dotted, noise, raster lines, unclear, lowres, over-smoothed",
|
263 |
+
3.0,
|
264 |
+
1.0,
|
265 |
+
6,
|
266 |
+
123,
|
267 |
+
4,
|
268 |
+
"wavelet"
|
269 |
+
],
|
270 |
+
[
|
271 |
+
"examples/3.png",
|
272 |
+
"clean, texture, high-resolution, 8k",
|
273 |
+
"blurry, dotted, noise, raster lines, unclear, lowres, over-smoothed",
|
274 |
+
2.5,
|
275 |
+
1.0,
|
276 |
+
6,
|
277 |
+
456,
|
278 |
+
4,
|
279 |
+
"wavelet"
|
280 |
+
]
|
281 |
]
|
|
|
282 |
|
283 |
# Add gallery of examples
|
284 |
with gr.Row():
|