hysts HF staff commited on
Commit
a075b7a
1 Parent(s): 938be83

Add cached examples

Browse files
.gitattributes CHANGED
@@ -36,3 +36,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
36
  examples/kaifu_resize.png filter=lfs diff=lfs merge=lfs -text
37
  examples/sam_resize.png filter=lfs diff=lfs merge=lfs -text
38
  examples/schmidhuber_resize.png filter=lfs diff=lfs merge=lfs -text
 
 
36
  examples/kaifu_resize.png filter=lfs diff=lfs merge=lfs -text
37
  examples/sam_resize.png filter=lfs diff=lfs merge=lfs -text
38
  examples/schmidhuber_resize.png filter=lfs diff=lfs merge=lfs -text
39
+ *.png filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -431,7 +431,7 @@ with gr.Blocks(css=css) as demo:
431
  inputs=[face_file, prompt, style, negative_prompt],
432
  outputs=[output_image, usage_tips],
433
  fn=run_for_examples,
434
- cache_examples=False,
435
  )
436
 
437
  gr.Markdown(article)
 
431
  inputs=[face_file, prompt, style, negative_prompt],
432
  outputs=[output_image, usage_tips],
433
  fn=run_for_examples,
434
+ cache_examples=True,
435
  )
436
 
437
  gr.Markdown(article)
gradio_cached_examples/25/Generated Image/2880a3d19ef9b42e3ed2/image.png ADDED

Git LFS Details

  • SHA256: 573444e88e4bf4ab7bf4a693cf53cea3988366f4ca35b41523bf7c027802d0a6
  • Pointer size: 132 Bytes
  • Size of remote file: 2.57 MB
gradio_cached_examples/25/Generated Image/38dde1388c41109c5d39/image.png ADDED

Git LFS Details

  • SHA256: c4e80ada96212f1acd058324b25602dc611de920de9e710c26286e751a5f1a9a
  • Pointer size: 132 Bytes
  • Size of remote file: 2.31 MB
gradio_cached_examples/25/Generated Image/6cb5a3af223906666bfd/image.png ADDED

Git LFS Details

  • SHA256: f4b7543b3b1fd8ae301ee77c8479a7b3170e2ee063cd501a04e5e8ecc38417f6
  • Pointer size: 132 Bytes
  • Size of remote file: 2.28 MB
gradio_cached_examples/25/Generated Image/7e6ea85f77dd925d842c/image.png ADDED

Git LFS Details

  • SHA256: abde3e97dc47d0b95f9909b2575834d6792db49816e5b40b0c8474a48fe467b2
  • Pointer size: 132 Bytes
  • Size of remote file: 2.38 MB
gradio_cached_examples/25/Generated Image/e56b029833685ff77e6a/image.png ADDED

Git LFS Details

  • SHA256: 2f0992f67fe4839bffb56cf3c527e08c652406c55729257374ee8d630ac21501
  • Pointer size: 132 Bytes
  • Size of remote file: 2.69 MB
gradio_cached_examples/25/log.csv ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Generated Image,Usage tips of InstantID,flag,username,timestamp
2
+ "{""path"":""gradio_cached_examples/25/Generated Image/7e6ea85f77dd925d842c/image.png"",""url"":null,""size"":null,""orig_name"":""image.png"",""mime_type"":null}","{'visible': True, '__type__': 'update'}",,,2024-01-24 08:55:38.846769
3
+ "{""path"":""gradio_cached_examples/25/Generated Image/2880a3d19ef9b42e3ed2/image.png"",""url"":null,""size"":null,""orig_name"":""image.png"",""mime_type"":null}","{'visible': True, '__type__': 'update'}",,,2024-01-24 08:56:11.432078
4
+ "{""path"":""gradio_cached_examples/25/Generated Image/38dde1388c41109c5d39/image.png"",""url"":null,""size"":null,""orig_name"":""image.png"",""mime_type"":null}","{'visible': True, '__type__': 'update'}",,,2024-01-24 08:56:45.563918
5
+ "{""path"":""gradio_cached_examples/25/Generated Image/e56b029833685ff77e6a/image.png"",""url"":null,""size"":null,""orig_name"":""image.png"",""mime_type"":null}","{'visible': True, '__type__': 'update'}",,,2024-01-24 08:57:20.321876
6
+ "{""path"":""gradio_cached_examples/25/Generated Image/6cb5a3af223906666bfd/image.png"",""url"":null,""size"":null,""orig_name"":""image.png"",""mime_type"":null}","{'visible': True, '__type__': 'update'}",,,2024-01-24 08:57:53.871716