Spaces:
Sleeping
Sleeping
Li Yan
commited on
Commit
·
bf33d70
1
Parent(s):
ba6be62
change input to None
Browse files
app.py
CHANGED
@@ -14,5 +14,5 @@ def image_gen(name):
|
|
14 |
images = pipeline(num_inference_steps=40).images
|
15 |
return images[0]
|
16 |
|
17 |
-
demo = gr.Interface(fn=image_gen, inputs=
|
18 |
demo.launch()
|
|
|
14 |
images = pipeline(num_inference_steps=40).images
|
15 |
return images[0]
|
16 |
|
17 |
+
demo = gr.Interface(fn=image_gen, inputs=None, outputs="image")
|
18 |
demo.launch()
|