Update app.py
Browse files
app.py
CHANGED
@@ -11,11 +11,11 @@ def segMindImage(prompt, negative_prompt):
|
|
11 |
|
12 |
return image
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
|
21 |
-
|
|
|
11 |
|
12 |
return image
|
13 |
|
14 |
+
app = gr.Interface(segMindImage,
|
15 |
+
inputs = [gr.Text(label="Prompt",placeholder="Write Prompt"),gr.Text(label="Negative Prompt",placeholder="Write Negative Prompt")],
|
16 |
+
outputs = gr.Image(label="Image"),
|
17 |
+
css =".gradio-container {background-image: linear-gradient(#7F7FD5, #91EAE4, #A3C9E2)}",
|
18 |
+
theme = gr.themes.Soft(),
|
19 |
+
title = "SD Image Diffusion")
|
20 |
|
21 |
+
app.launch()
|