prithivMLmods commited on
Commit
f9bc7fa
·
verified ·
1 Parent(s): a6a9404

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -278,7 +278,8 @@ def generate(
278
 
279
  examples = [
280
  "Portrait of a beautiful woman in a hat, summer outfit, with freckles on her face, in a close up shot, with sunlight, outdoors, in soft light, with a beach background, looking at the camera, with high resolution photography, in the style of Hasselblad X2D50c --ar 85:128 --v 6.0 --style raw",
281
- "A starbucks coffee cup, mid focus, outdoors, with high resolution photography, 4K, minimalist --ar 85:128 --v 6.0 --style raw"
 
282
  ]
283
 
284
  css = '''
@@ -406,7 +407,8 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
406
  inputs=prompt,
407
  outputs=[result, seed],
408
  fn=generate,
409
- cache_examples=CACHE_EXAMPLES,
 
410
  )
411
 
412
  use_negative_prompt.change(
 
278
 
279
  examples = [
280
  "Portrait of a beautiful woman in a hat, summer outfit, with freckles on her face, in a close up shot, with sunlight, outdoors, in soft light, with a beach background, looking at the camera, with high resolution photography, in the style of Hasselblad X2D50c --ar 85:128 --v 6.0 --style raw",
281
+ "3d image, cute girl, in the style of Pixar --ar 1:2 --stylize 750, 4K resolution highlights, Sharp focus, octane render, ray tracing, Ultra-High-Definition, 8k, UHD, HDR, (Masterpiece:1.5), (best quality:1.5)",
282
+ "A closeup of a cat, a window, in a rustic cabin, close up, with a shallow depth of field, with a vintage film grain, in the style of Annie Leibovitz and in the style of Wes Anderson. --ar 85:128 --v 6.0 --style raw"
283
  ]
284
 
285
  css = '''
 
407
  inputs=prompt,
408
  outputs=[result, seed],
409
  fn=generate,
410
+ #cache_examples=CACHE_EXAMPLES,
411
+ cache_examples=True,
412
  )
413
 
414
  use_negative_prompt.change(