Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
Β·
fe3881c
1
Parent(s):
20f9740
Update app.py
Browse files
app.py
CHANGED
@@ -360,10 +360,10 @@ description = "Gradio demo for VQGAN + CLIP. To use it, simply add your text, or
|
|
360 |
article = "<p style='text-align: center'>Originally made by Katherine Crowson (https://github.com/crowsonkb, https://twitter.com/RiversHaveWings). The original BigGAN+CLIP method was by https://twitter.com/advadnoun. Added some explanations and modifications by Eleiber#8347, pooling trick by Crimeacs#8222 (https://twitter.com/EarthML1) and the GUI was made with the help of Abulafia#3734. | <a href='https://colab.research.google.com/drive/1ZAus_gn2RhTZWzOWUpPERNC0Q8OhZRTZ'>Colab</a> | <a href='https://github.com/CompVis/taming-transformers'>Taming Transformers Github Repo</a> | <a href='https://github.com/openai/CLIP'>CLIP Github Repo</a> | Special thanks to BoneAmputee (https://twitter.com/BoneAmputee) for suggestions and advice</p>"
|
361 |
gr.Interface(
|
362 |
throttled_inference,
|
363 |
-
[gr.inputs.Textbox(label="Input"),
|
364 |
gr.inputs.Number(default=42, label="seed"),
|
365 |
-
gr.inputs.Slider(minimum=0.1, maximum=0.9, default=0.
|
366 |
-
gr.inputs.Slider(minimum=
|
367 |
gr.inputs.Slider(minimum=200, maximum=280, default=256, label='width', step=1),
|
368 |
gr.inputs.Slider(minimum=200, maximum=280, default=256, label='height', step=1),
|
369 |
],
|
|
|
360 |
article = "<p style='text-align: center'>Originally made by Katherine Crowson (https://github.com/crowsonkb, https://twitter.com/RiversHaveWings). The original BigGAN+CLIP method was by https://twitter.com/advadnoun. Added some explanations and modifications by Eleiber#8347, pooling trick by Crimeacs#8222 (https://twitter.com/EarthML1) and the GUI was made with the help of Abulafia#3734. | <a href='https://colab.research.google.com/drive/1ZAus_gn2RhTZWzOWUpPERNC0Q8OhZRTZ'>Colab</a> | <a href='https://github.com/CompVis/taming-transformers'>Taming Transformers Github Repo</a> | <a href='https://github.com/openai/CLIP'>CLIP Github Repo</a> | Special thanks to BoneAmputee (https://twitter.com/BoneAmputee) for suggestions and advice</p>"
|
361 |
gr.Interface(
|
362 |
throttled_inference,
|
363 |
+
[gr.inputs.Textbox(label="Text Input"),
|
364 |
gr.inputs.Number(default=42, label="seed"),
|
365 |
+
gr.inputs.Slider(minimum=0.1, maximum=0.9, default=0.17, label='step size'),
|
366 |
+
gr.inputs.Slider(minimum=25, maximum=150, default=80, label='max iterations', step=1),
|
367 |
gr.inputs.Slider(minimum=200, maximum=280, default=256, label='width', step=1),
|
368 |
gr.inputs.Slider(minimum=200, maximum=280, default=256, label='height', step=1),
|
369 |
],
|