Ahsen Khaliq
commited on
Commit
·
f7cbd98
1
Parent(s):
96e897e
Update app.py
Browse files
app.py
CHANGED
@@ -67,8 +67,8 @@ description = "Gradio demo for GFP-GAN: Towards Real-World Blind Face Restoratio
|
|
67 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2101.04061'>Towards Real-World Blind Face Restoration with Generative Facial Prior</a> | <a href='https://github.com/TencentARC/GFPGAN'>Github Repo</a></p><center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_GFPGAN' alt='visitor badge'></center>"
|
68 |
gr.Interface(
|
69 |
inference,
|
70 |
-
[gr.inputs.Image(type="
|
71 |
-
gr.outputs.Image(type="
|
72 |
title=title,
|
73 |
description=description,
|
74 |
article=article,
|
|
|
67 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2101.04061'>Towards Real-World Blind Face Restoration with Generative Facial Prior</a> | <a href='https://github.com/TencentARC/GFPGAN'>Github Repo</a></p><center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_GFPGAN' alt='visitor badge'></center>"
|
68 |
gr.Interface(
|
69 |
inference,
|
70 |
+
[gr.inputs.Image(type="filepath", label="Input")],
|
71 |
+
gr.outputs.Image(type="pil", label="Output"),
|
72 |
title=title,
|
73 |
description=description,
|
74 |
article=article,
|