SunderAli17 commited on
Commit
190e13f
·
verified ·
1 Parent(s): 40867f2

Update src/app.py

Browse files
Files changed (1) hide show
  1. src/app.py +21 -21
src/app.py CHANGED
@@ -14,9 +14,9 @@ pi_heif.register_heif_opener()
14
 
15
 
16
  TITLE = """
17
- <h1>Finegrain Image Enhancer</h1>
18
  <p>
19
- Transform low-resolution images into stunning high-resolution versions with intelligently generated details.
20
  </p><p>
21
  🌟 If you like this Space, follow <a href="https://huggingface.co/finegrain">Finegrain</a> on Hugging Face for more cool free tools!
22
  </p>
@@ -253,24 +253,24 @@ with gr.Blocks() as demo:
253
  outputs=output_slider,
254
  )
255
 
256
- gr.Examples(
257
- examples=[
258
- "examples/kara-eads-L7EwHkq1B2s-unsplash.jpg",
259
- "examples/clarity_bird.webp",
260
- "examples/edgar-infocus-gJH8AqpiSEU-unsplash.jpg",
261
- "examples/jeremy-wallace-_XjW3oN8UOE-unsplash.jpg",
262
- "examples/karina-vorozheeva-rW-I87aPY5Y-unsplash.jpg",
263
- "examples/karographix-photography-hIaOPjYCEj4-unsplash.jpg",
264
- "examples/melissa-walker-horn-gtDYwUIr9Vg-unsplash.jpg",
265
- "examples/ryoji-iwata-X53e51WfjlE-unsplash.jpg",
266
- "examples/tadeusz-lakota-jggQZkITXng-unsplash.jpg",
267
- ],
268
- inputs=[input_image],
269
- outputs=output_slider,
270
- fn=process,
271
- cache_examples=True,
272
- cache_mode="lazy",
273
- run_on_click=False,
274
- )
275
 
276
  demo.launch(share=False, ssr_mode=False)
 
14
 
15
 
16
  TITLE = """
17
+ <h1>Image Enhancement using SDXL</h1>
18
  <p>
19
+ Transform low-resolution images into high-resolution versions using pretrained UNet and SDXL models.
20
  </p><p>
21
  🌟 If you like this Space, follow <a href="https://huggingface.co/finegrain">Finegrain</a> on Hugging Face for more cool free tools!
22
  </p>
 
253
  outputs=output_slider,
254
  )
255
 
256
+ # gr.Examples(
257
+ # examples=[
258
+ # "examples/kara-eads-L7EwHkq1B2s-unsplash.jpg",
259
+ # "examples/clarity_bird.webp",
260
+ # "examples/edgar-infocus-gJH8AqpiSEU-unsplash.jpg",
261
+ # "examples/jeremy-wallace-_XjW3oN8UOE-unsplash.jpg",
262
+ # "examples/karina-vorozheeva-rW-I87aPY5Y-unsplash.jpg",
263
+ # "examples/karographix-photography-hIaOPjYCEj4-unsplash.jpg",
264
+ # "examples/melissa-walker-horn-gtDYwUIr9Vg-unsplash.jpg",
265
+ # "examples/ryoji-iwata-X53e51WfjlE-unsplash.jpg",
266
+ # "examples/tadeusz-lakota-jggQZkITXng-unsplash.jpg",
267
+ # ],
268
+ # inputs=[input_image],
269
+ # outputs=output_slider,
270
+ # fn=process,
271
+ # cache_examples=True,
272
+ # cache_mode="lazy",
273
+ # run_on_click=False,
274
+ # )
275
 
276
  demo.launch(share=False, ssr_mode=False)