ysharma HF Staff commited on
Commit
6f52c6f
·
1 Parent(s): 9cc0be9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,11 +20,11 @@ def segMindImage(prompt, negative_prompt):
20
 
21
  return image
22
 
23
- app = gr.Interface(segMindImage,
24
  inputs = [gr.Text(label="Prompt",placeholder="Write Prompt"),gr.Text(label="Negative Prompt",placeholder="Write Negative Prompt")],
25
  outputs = gr.Image(label="Image"),
26
  css =".gradio-container {background-image: linear-gradient(#7F7FD5, #91EAE4, #A3C9E2)}",
27
  theme = gr.themes.Soft(),
28
  title = "SD Image Diffusion")
29
 
30
- app.launch()
 
20
 
21
  return image
22
 
23
+ app = gr.Interface(segMindImage,
24
  inputs = [gr.Text(label="Prompt",placeholder="Write Prompt"),gr.Text(label="Negative Prompt",placeholder="Write Negative Prompt")],
25
  outputs = gr.Image(label="Image"),
26
  css =".gradio-container {background-image: linear-gradient(#7F7FD5, #91EAE4, #A3C9E2)}",
27
  theme = gr.themes.Soft(),
28
  title = "SD Image Diffusion")
29
 
30
+ app.launch()