Lifeinhockey commited on
Commit
00bac70
·
verified ·
1 Parent(s): 7358497

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -62,6 +62,10 @@ examples = [
62
  "A futuristic sports car is located on the surface of Mars. Stars, planets, mountains and craters are visible.",
63
  ]
64
 
 
 
 
 
65
  css = """
66
  #col-container {
67
  margin: 0 auto;
@@ -150,6 +154,7 @@ with gr.Blocks(css=css) as demo:
150
  )
151
 
152
  gr.Examples(examples=examples, inputs=[prompt])
 
153
 
154
  gr.on(
155
  triggers=[run_button.click, prompt.submit],
 
62
  "A futuristic sports car is located on the surface of Mars. Stars, planets, mountains and craters are visible.",
63
  ]
64
 
65
+ examples_negative = [
66
+ "blurry details, low resolution, poorly defined edges",
67
+ ]
68
+
69
  css = """
70
  #col-container {
71
  margin: 0 auto;
 
154
  )
155
 
156
  gr.Examples(examples=examples, inputs=[prompt])
157
+ gr.Examples(examples=examples_negative, inputs=[negative_prompt])
158
 
159
  gr.on(
160
  triggers=[run_button.click, prompt.submit],