Update app.py
Browse files
app.py
CHANGED
@@ -57,9 +57,7 @@ def inference(image, size):
|
|
57 |
return result
|
58 |
|
59 |
|
60 |
-
title = "
|
61 |
-
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"
|
62 |
-
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>"
|
63 |
|
64 |
|
65 |
gr.Interface(inference,
|
@@ -70,9 +68,6 @@ gr.Interface(inference,
|
|
70 |
label="Resolution model")],
|
71 |
gr.Image(type="pil", label="Output"),
|
72 |
title=title,
|
73 |
-
description=description,
|
74 |
-
article=article,
|
75 |
-
examples=[["groot.jpeg", "2x"]],
|
76 |
flagging_mode="never",
|
77 |
cache_mode="lazy",
|
78 |
delete_cache=(44000, 44000),
|
|
|
57 |
return result
|
58 |
|
59 |
|
60 |
+
title = "ProFaker"
|
|
|
|
|
61 |
|
62 |
|
63 |
gr.Interface(inference,
|
|
|
68 |
label="Resolution model")],
|
69 |
gr.Image(type="pil", label="Output"),
|
70 |
title=title,
|
|
|
|
|
|
|
71 |
flagging_mode="never",
|
72 |
cache_mode="lazy",
|
73 |
delete_cache=(44000, 44000),
|