Ashrafb commited on
Commit
f75bc08
·
1 Parent(s): 228ded5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -9
app.py CHANGED
@@ -109,16 +109,9 @@ def inference(img, version, scale):
109
  return None, None
110
 
111
 
112
- title = "Image Upscaling & Restoration(esp. Face) using GFPGAN Algorithm"
113
- description = r"""Gradio demo for <a href='https://github.com/TencentARC/GFPGAN' target='_blank'><b>GFPGAN: Towards Real-World Blind Face Restoration and Upscalling of the image with a Generative Facial Prior</b></a>.<br>
114
- Practically the algorithm is used to restore your **old photos** or improve **AI-generated faces**.<br>
115
- To use it, simply just upload the concerned image.<br>
116
- """
117
  article = r"""
118
- [![download](https://img.shields.io/github/downloads/TencentARC/GFPGAN/total.svg)](https://github.com/TencentARC/GFPGAN/releases)
119
- [![GitHub Stars](https://img.shields.io/github/stars/TencentARC/GFPGAN?style=social)](https://github.com/TencentARC/GFPGAN)
120
- [![arXiv](https://img.shields.io/badge/arXiv-Paper-<COLOR>.svg)](https://arxiv.org/abs/2101.04061)
121
- <center><img src='https://visitor-badge.glitch.me/badge?page_id=dj_face_restoration_GFPGAN' alt='visitor badge'></center>
122
  """
123
  demo = gr.Interface(
124
  inference, [
@@ -134,6 +127,7 @@ demo = gr.Interface(
134
  title=title,
135
  description=description,
136
  article=article,
 
137
  # examples=[['AI-generate.jpg', 'v1.4', 2, 50], ['lincoln.jpg', 'v1.4', 2, 50], ['Blake_Lively.jpg', 'v1.4', 2, 50],
138
  # ['10045.png', 'v1.4', 2, 50]]).launch()
139
  examples=[['a1.jpg', 'v1.4', 2], ['a2.jpg', 'v1.4', 2], ['a3.jpg', 'v1.4', 2],['a4.jpg', 'v1.4', 2]])
 
109
  return None, None
110
 
111
 
112
+ title = "<span style='color: #191970;'>Aiconvert.online</span>"
113
+ description = r""""""
 
 
 
114
  article = r"""
 
 
 
 
115
  """
116
  demo = gr.Interface(
117
  inference, [
 
127
  title=title,
128
  description=description,
129
  article=article,
130
+ css=".gradio-container {background-color: #FFE4C4}"
131
  # examples=[['AI-generate.jpg', 'v1.4', 2, 50], ['lincoln.jpg', 'v1.4', 2, 50], ['Blake_Lively.jpg', 'v1.4', 2, 50],
132
  # ['10045.png', 'v1.4', 2, 50]]).launch()
133
  examples=[['a1.jpg', 'v1.4', 2], ['a2.jpg', 'v1.4', 2], ['a3.jpg', 'v1.4', 2],['a4.jpg', 'v1.4', 2]])