renatotn7 commited on
Commit
8c5fb4a
·
1 Parent(s): 79e13f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -10
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 = "上传老照片,点击Submit,稍等片刻,右侧Output将照片另存为即可。"
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
- article=article,
59
- examples=[
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