doevent commited on
Commit
a05dcb5
1 Parent(s): 820f5f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,7 +26,7 @@ def inference(image, size):
26
 
27
  title = "Face Real ESRGAN UpScale: 2x 4x 8x"
28
  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"
29
- 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> <center><img src='https://visitor-badge.glitch.me/badge?page_id=max_skobeev_face_esrgan' alt='visitor badge'></center></div>"
30
 
31
 
32
  gr.Interface(inference,
@@ -42,5 +42,5 @@ gr.Interface(inference,
42
  examples=[['groot.jpeg', "2x"]],
43
  allow_flagging='never',
44
  cache_examples=False,
45
- ).queue(concurrency_count=1, api_open=False).launch(show_api=False, show_error=True)
46
 
 
26
 
27
  title = "Face Real ESRGAN UpScale: 2x 4x 8x"
28
  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"
29
+ 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>"
30
 
31
 
32
  gr.Interface(inference,
 
42
  examples=[['groot.jpeg', "2x"]],
43
  allow_flagging='never',
44
  cache_examples=False,
45
+ ).queue(concurrency_count=1).launch(show_error=True)
46