skytnt commited on
Commit
66a7855
1 Parent(s): e48d82b

visitorbadge

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -24,5 +24,6 @@ if __name__ == "__main__":
24
  model = rt.InferenceSession(model_path, providers=['CUDAExecutionProvider', 'CPUExecutionProvider'])
25
  examples = [[f"examples/{x:02d}.jpg"] for x in range(0, 2)]
26
  app = gr.Interface(predict, gr.Image(label="input image"), gr.Number(label="score"),title="Anime Aesthetic Predict",
 
27
  allow_flagging="never", examples=examples, cache_examples=False)
28
  app.launch()
 
24
  model = rt.InferenceSession(model_path, providers=['CUDAExecutionProvider', 'CPUExecutionProvider'])
25
  examples = [[f"examples/{x:02d}.jpg"] for x in range(0, 2)]
26
  app = gr.Interface(predict, gr.Image(label="input image"), gr.Number(label="score"),title="Anime Aesthetic Predict",
27
+ description='![Visitors](https://api.visitorbadge.io/api/visitors?path=skytnt.anime-aesthetic-predict&countColor=%23263759&style=flat&labelStyle=lower)',
28
  allow_flagging="never", examples=examples, cache_examples=False)
29
  app.launch()