Update app.py
Browse files
app.py
CHANGED
@@ -42,10 +42,10 @@ def inference(img):
|
|
42 |
#return Image.fromarray(restored_faces[0][:,:,::-1])
|
43 |
return Image.fromarray(restored_img[:, :, ::-1])
|
44 |
|
45 |
-
title = "
|
46 |
|
47 |
|
48 |
-
description = "
|
49 |
|
50 |
article = "<p style='text-align: center'><a href='https://huggingface.co/spaces/akhaliq/GFPGAN/' target='_blank'>clone from akhaliq@huggingface with little change</a> | <a href='https://github.com/TencentARC/GFPGAN' target='_blank'>GFPGAN Github Repo</a></p><center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_GFPGAN' alt='visitor badge'></center>"
|
51 |
|
@@ -55,13 +55,7 @@ gr.Interface(
|
|
55 |
gr.outputs.Image(type="pil", label="Output"),
|
56 |
title=title,
|
57 |
description=description,
|
58 |
-
|
59 |
-
|
60 |
-
['lincoln.jpg'],
|
61 |
-
['einstein.png'],
|
62 |
-
['edison.jpg'],
|
63 |
-
['Henry.jpg'],
|
64 |
-
['Frida.jpg']
|
65 |
-
]
|
66 |
).launch(enable_queue=True,cache_examples=True,share=True)
|
67 |
|
|
|
42 |
#return Image.fromarray(restored_faces[0][:,:,::-1])
|
43 |
return Image.fromarray(restored_img[:, :, ::-1])
|
44 |
|
45 |
+
title = "Melhoria de imagens"
|
46 |
|
47 |
|
48 |
+
description = "Sistema para automação。"
|
49 |
|
50 |
article = "<p style='text-align: center'><a href='https://huggingface.co/spaces/akhaliq/GFPGAN/' target='_blank'>clone from akhaliq@huggingface with little change</a> | <a href='https://github.com/TencentARC/GFPGAN' target='_blank'>GFPGAN Github Repo</a></p><center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_GFPGAN' alt='visitor badge'></center>"
|
51 |
|
|
|
55 |
gr.outputs.Image(type="pil", label="Output"),
|
56 |
title=title,
|
57 |
description=description,
|
58 |
+
|
59 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
).launch(enable_queue=True,cache_examples=True,share=True)
|
61 |
|