Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -120,10 +120,10 @@ def inference(seedin):
|
|
120 |
return output
|
121 |
|
122 |
title = "Projected GAN"
|
123 |
-
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.
|
124 |
|
125 |
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>"
|
126 |
|
127 |
-
gr.Interface(inference,gr.inputs.Slider(label="Seed",minimum=0, maximum=
|
128 |
[0],[1],[10],[20],[30],[42],[50],[60],[77],[102]
|
129 |
]).launch(enable_queue=True,cache_examples=True)
|
|
|
120 |
return output
|
121 |
|
122 |
title = "Projected GAN"
|
123 |
+
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."
|
124 |
|
125 |
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>"
|
126 |
|
127 |
+
gr.Interface(inference,gr.inputs.Slider(label="Seed",minimum=0, maximum=5000, step=1, default=0),"pil",title=title,description=description,article=article, examples=[
|
128 |
[0],[1],[10],[20],[30],[42],[50],[60],[77],[102]
|
129 |
]).launch(enable_queue=True,cache_examples=True)
|