Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
5825cd3
1
Parent(s):
0ad3aac
Update app.py
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ def inference(text,steps,image):
|
|
166 |
title = "StyleGAN3+CLIP"
|
167 |
description = "Gradio demo for StyleGAN3+CLIP. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
|
168 |
article = "<p style='text-align: center'>colab by https://twitter.com/nshepperd1 <a href='https://colab.research.google.com/drive/1eYlenR1GHPZXt-YuvXabzO9wfh9CWY36' target='_blank'>Colab</a></p>"
|
169 |
-
examples = [['
|
170 |
gr.Interface(
|
171 |
inference,
|
172 |
["text",gr.inputs.Slider(minimum=50, maximum=200, step=1, default=150, label="steps"),gr.inputs.Image(type="pil", label="Image (Optional)", optional=True)],
|
|
|
166 |
title = "StyleGAN3+CLIP"
|
167 |
description = "Gradio demo for StyleGAN3+CLIP. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
|
168 |
article = "<p style='text-align: center'>colab by https://twitter.com/nshepperd1 <a href='https://colab.research.google.com/drive/1eYlenR1GHPZXt-YuvXabzO9wfh9CWY36' target='_blank'>Colab</a></p>"
|
169 |
+
examples = [['mario',150,None]]
|
170 |
gr.Interface(
|
171 |
inference,
|
172 |
["text",gr.inputs.Slider(minimum=50, maximum=200, step=1, default=150, label="steps"),gr.inputs.Image(type="pil", label="Image (Optional)", optional=True)],
|