akhaliq HF staff commited on
Commit
1e61989
1 Parent(s): e44703d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,10 +16,10 @@ def inference(seeds):
16
  return image
17
 
18
  title = "Projected GAN"
19
- description = "Gradio demo for Projected GANs Converge Faster, Pokemon. To use it, add seed, or click one of the examples to load them. Read more at the links below."
20
 
21
  article = "<p style='text-align: center'><a href='http://www.cvlibs.net/publications/Sauer2021NEURIPS.pdf' target='_blank'>Projected GANs Converge Faster</a> | <a href='https://github.com/autonomousvision/projected_gan' target='_blank'>Github Repo</p><center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_projected_gan' alt='visitor badge'></center>"
22
 
23
  gr.Interface(inference,gr.inputs.Slider(label="Seed",minimum=0, maximum=1000, step=1, default=0),"pil",title=title,description=description,article=article, examples=[
24
- [42]
25
  ]).launch(enable_queue=True,cache_examples=True)
 
16
  return image
17
 
18
  title = "Projected GAN"
19
+ description = "Gradio demo for Projected GANs Converge Faster, Pokemon. To use it, add seed, or click one of the examples to load them. Read more at the links below. We’re getting a lot of traffic from Hacker News so we added 10 cached examples"
20
 
21
  article = "<p style='text-align: center'><a href='http://www.cvlibs.net/publications/Sauer2021NEURIPS.pdf' target='_blank'>Projected GANs Converge Faster</a> | <a href='https://github.com/autonomousvision/projected_gan' target='_blank'>Github Repo</p><center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_projected_gan' alt='visitor badge'></center>"
22
 
23
  gr.Interface(inference,gr.inputs.Slider(label="Seed",minimum=0, maximum=1000, step=1, default=0),"pil",title=title,description=description,article=article, examples=[
24
+ [0],[1],[10],[20],[30],[42],[50],[60],[77],[102]
25
  ]).launch(enable_queue=True,cache_examples=True)