Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def inference(image, size):
|
|
26 |
|
27 |
title = "Face Real ESRGAN UpScale: 2x 4x 8x"
|
28 |
description = "This is an unofficial demo for Real-ESRGAN. Scales the resolution of a photo. This model shows better results on faces compared to the original version.<br>Telegram BOT: https://t.me/restoration_photo_bot"
|
29 |
-
article = "<div style='text-align: center;'>Twitter <a href='https://twitter.com/DoEvent' target='_blank'>Max Skobeev</a> | <a href='https://huggingface.co/sberbank-ai/Real-ESRGAN' target='_blank'>Model card</a
|
30 |
|
31 |
|
32 |
gr.Interface(inference,
|
@@ -42,5 +42,5 @@ gr.Interface(inference,
|
|
42 |
examples=[['groot.jpeg', "2x"]],
|
43 |
allow_flagging='never',
|
44 |
cache_examples=False,
|
45 |
-
).queue(concurrency_count=1
|
46 |
|
|
|
26 |
|
27 |
title = "Face Real ESRGAN UpScale: 2x 4x 8x"
|
28 |
description = "This is an unofficial demo for Real-ESRGAN. Scales the resolution of a photo. This model shows better results on faces compared to the original version.<br>Telegram BOT: https://t.me/restoration_photo_bot"
|
29 |
+
article = "<div style='text-align: center;'>Twitter <a href='https://twitter.com/DoEvent' target='_blank'>Max Skobeev</a> | <a href='https://huggingface.co/sberbank-ai/Real-ESRGAN' target='_blank'>Model card</a>/div>"
|
30 |
|
31 |
|
32 |
gr.Interface(inference,
|
|
|
42 |
examples=[['groot.jpeg', "2x"]],
|
43 |
allow_flagging='never',
|
44 |
cache_examples=False,
|
45 |
+
).queue(concurrency_count=1).launch(show_error=True)
|
46 |
|