秋山翔 commited on
Commit
acf7bcd
1 Parent(s): bc8701f

TEST: test render article

Browse files
app.py CHANGED
@@ -49,8 +49,8 @@ def inference(img):
49
 
50
 
51
  title = "Anime Background GAN"
52
- description = "<a href='http://openaccess.thecvf.com/content_cvpr_2018/CameraReady/2205.pdf' target='_blank'>CartoonGAN from Chen et.al</a> based on <a href='https://github.com/Yijunmaverick/CartoonGAN-Test-Pytorch-Torch' target='_blank'>Yijunmaverick's implementation</a>."
53
- article = "<p style='text-align: center'><a href='https://github.com/venture-anime/cartoongan-pytorch' target='_blank'>Github Repo</a></p> <center><img src='https://visitor-badge.glitch.me/badge?page_id=akiyamasho' alt='visitor badge'></center></p>"
54
 
55
  examples = [
56
  ["examples/garden_in.jpeg", "examples/garden_out.jpg"],
@@ -64,7 +64,7 @@ gr.Interface(
64
  outputs=gr.outputs.Image(type="pil"),
65
  title=title,
66
  description=description,
67
- article=None,
68
  examples=None,
69
  allow_flagging=False,
70
  allow_screenshot=False,
 
49
 
50
 
51
  title = "Anime Background GAN"
52
+ description = ""
53
+ article = "<p style='text-align: center'><a href='http://openaccess.thecvf.com/content_cvpr_2018/CameraReady/2205.pdf' target='_blank'>CartoonGAN from Chen et.al</a></p><p style='text-align: center'><a href='https://github.com/venture-anime/cartoongan-pytorch' target='_blank'>Github Repo</a></p><p style='text-align: center'><a href='https://github.com/Yijunmaverick/CartoonGAN-Test-Pytorch-Torch' target='_blank'>Original Implementation from Yijunmaverick</a></p><center><img src='https://visitor-badge.glitch.me/badge?page_id=akiyamasho' alt='visitor badge'></center></p>"
54
 
55
  examples = [
56
  ["examples/garden_in.jpeg", "examples/garden_out.jpg"],
 
64
  outputs=gr.outputs.Image(type="pil"),
65
  title=title,
66
  description=description,
67
+ article=article,
68
  examples=None,
69
  allow_flagging=False,
70
  allow_screenshot=False,
examples/garden_in.jpg ADDED
examples/garden_out.jpg ADDED
examples/library_in.png ADDED