Eugeoter commited on
Commit
e938efe
1 Parent(s): 87799b5
app.py CHANGED
@@ -25,7 +25,15 @@ demo = gr.Interface(
25
  inputs=gr.Image(type='pil', label='Image', height=512),
26
  outputs=gr.Number(label='Score', precision=2),
27
  title='Waifu Scorer V3',
28
- description='''Score ranges from 0 to 10, higher is better.
29
  [Github](https://github.com/Eugeoter/waifu-scorer) | [Model](https://huggingface.co/Eugeoter/waifu-scorer-v3) | [Inspiration](https://github.com/christophschuhmann/improved-aesthetic-predictor)''',
 
 
 
 
 
 
 
 
30
  )
31
  demo.queue().launch()
 
25
  inputs=gr.Image(type='pil', label='Image', height=512),
26
  outputs=gr.Number(label='Score', precision=2),
27
  title='Waifu Scorer V3',
28
+ description='''Score ranges from 0 to 10, higher is better\n
29
  [Github](https://github.com/Eugeoter/waifu-scorer) | [Model](https://huggingface.co/Eugeoter/waifu-scorer-v3) | [Inspiration](https://github.com/christophschuhmann/improved-aesthetic-predictor)''',
30
+ examples=[
31
+ 'examples/0.jpg',
32
+ 'examples/1.png',
33
+ 'examples/2.jpg',
34
+ 'examples/3.png',
35
+ 'examples/4.jpg',
36
+ ],
37
+ cache_examples=True,
38
  )
39
  demo.queue().launch()
examples/1.png ADDED
examples/2.jpg ADDED
examples/3.png ADDED
examples/4.jpg ADDED
gradio_cached_examples/15/log.csv ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Score,flag,username,timestamp
2
+ 0.0,,,2024-08-28 15:45:24.817889
3
+ 1.44,,,2024-08-28 15:45:24.895688
4
+ 5.02,,,2024-08-28 15:45:24.951166
5
+ 6.8,,,2024-08-28 15:45:25.012164
6
+ 8.53,,,2024-08-28 15:45:25.075605