Lifeinhockey commited on
Commit
7e6021f
·
verified ·
1 Parent(s): 9ed7c82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -56,6 +56,7 @@ def infer(
56
 
57
 
58
  examples = [
 
59
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k.",
60
  "An astronaut riding a green horse.",
61
  "A delicious ceviche cheesecake slice.",
@@ -63,6 +64,7 @@ examples = [
63
  ]
64
 
65
  examples_negative = [
 
66
  "blurry details, low resolution, poorly defined edges",
67
  "bad face, bad quality, artifacts, low-res, black and white",
68
  ]
@@ -75,6 +77,7 @@ css = """
75
  """
76
 
77
  available_models = [
 
78
  "SG161222/Realistic_Vision_V3.0_VAE",
79
  "CompVis/stable-diffusion-v1-4",
80
  "stabilityai/sdxl-turbo",
@@ -95,7 +98,7 @@ with gr.Blocks(css=css) as demo:
95
  model = gr.Dropdown(
96
  label="Model Selection",
97
  choices=available_models,
98
- value="CompVis/stable-diffusion-v1-4",
99
  interactive=True
100
  )
101
  prompt = gr.Text(
 
56
 
57
 
58
  examples = [
59
+ "Young man in anime style. The image is of high sharpness and resolution. A handsome, thoughtful man. The man is depicted in the foreground, close-up or middle plan. The background is blurry, not sharp. The play of light and shadow is visible on the face and clothes."
60
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k.",
61
  "An astronaut riding a green horse.",
62
  "A delicious ceviche cheesecake slice.",
 
64
  ]
65
 
66
  examples_negative = [
67
+ "blurred details, low resolution, poor image of a man's face, poor quality, artifacts, black and white image"
68
  "blurry details, low resolution, poorly defined edges",
69
  "bad face, bad quality, artifacts, low-res, black and white",
70
  ]
 
77
  """
78
 
79
  available_models = [
80
+ "stable-diffusion-v1-5/stable-diffusion-v1-5",
81
  "SG161222/Realistic_Vision_V3.0_VAE",
82
  "CompVis/stable-diffusion-v1-4",
83
  "stabilityai/sdxl-turbo",
 
98
  model = gr.Dropdown(
99
  label="Model Selection",
100
  choices=available_models,
101
+ value="stable-diffusion-v1-5/stable-diffusion-v1-5",
102
  interactive=True
103
  )
104
  prompt = gr.Text(