Li Yan commited on
Commit
bf33d70
·
1 Parent(s): ba6be62

change input to None

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="text", outputs="image")
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()