aadarsh-af commited on
Commit
4a73852
·
1 Parent(s): 0f8ee2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ model = StableDiffusionPipeline(
17
  )
18
 
19
  def t2i(text):
20
- image, url = model(text)
21
  return image
22
 
23
  iface = gr.Interface(fn=t2i, inputs="text", outputs=[gr.Image(label="Generated Image")]).launch()
 
17
  )
18
 
19
  def t2i(text):
20
+ image, url = model(text, seed=2)
21
  return image
22
 
23
  iface = gr.Interface(fn=t2i, inputs="text", outputs=[gr.Image(label="Generated Image")]).launch()