Spaces:
Running
Running
visitorbadge
Browse files
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()
|