Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
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()
|