Tzktz commited on
Commit
4203a70
1 Parent(s): d761518

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -55,9 +55,9 @@ def inference(image, size):
55
  return result
56
 
57
 
58
- title = "Face Real ESRGAN UpScale: 2x 4x 8x"
59
- 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"
60
- 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>"
61
 
62
  gr.Interface(inference,
63
  [gr.Image(type="pil"),
@@ -68,8 +68,6 @@ gr.Interface(inference,
68
  gr.Image(type="pil", label="Output"),
69
  title=title,
70
  description=description,
71
- article=article,
72
-
73
  allow_flagging='never',
74
  cache_examples=False,
75
  ).queue(api_open=False).launch(show_error=True, show_api=False)
 
55
  return result
56
 
57
 
58
+ title = "RealESRGAN UpScale Model: 2x 4x 8x"
59
+ description = "This model running on cpu so it takes bit time,so pls be patient :)"
60
+
61
 
62
  gr.Interface(inference,
63
  [gr.Image(type="pil"),
 
68
  gr.Image(type="pil", label="Output"),
69
  title=title,
70
  description=description,
 
 
71
  allow_flagging='never',
72
  cache_examples=False,
73
  ).queue(api_open=False).launch(show_error=True, show_api=False)