JoPmt commited on
Commit
c8ec1aa
·
1 Parent(s): 71db198

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,5 +65,5 @@ def plex(prompt,modil):
65
  image = pipe(prompt=prompt, num_inference_steps=5).images[0]
66
  return image
67
 
68
- iface = gr.Interface(fn=plex,inputs=[gr.Textbox(label="Prompt"), gr.Dropdown(choices=models, type="value", value=models[random.randint(0, len(models))])],outputs=gr.Image(),title="AutoPipelineForText2Image_SD_Multi",description="AutoPipelineForText2Image_SD_Multi")
69
  iface.launch()
 
65
  image = pipe(prompt=prompt, num_inference_steps=5).images[0]
66
  return image
67
 
68
+ iface = gr.Interface(fn=plex,inputs=[gr.Textbox(label="Prompt"), gr.Dropdown(choices=models, type="value", value=models[random.randint(1, len(models))])],outputs=gr.Image(),title="AutoPipelineForText2Image_SD_Multi",description="AutoPipelineForText2Image_SD_Multi")
69
  iface.launch()