Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,13 +19,13 @@ title = "Paddy Disease Classifier with EdgeNeXt"
|
|
19 |
description = "9 Diseases + 1 Normal class."
|
20 |
interpretation='default'
|
21 |
examples = ["sample_images/"+file for file in files]
|
22 |
-
article="<p style='text-align: center'><a href='https://dicksonneoh.com/portfolio/pytorch_at_the_edge_timm_torchscript_flutter/' target='_blank'
|
23 |
enable_queue=True
|
24 |
|
25 |
gr.Interface(
|
26 |
fn=predict,
|
27 |
inputs=gr.inputs.Image(shape=(224, 224)),
|
28 |
-
outputs=gr.outputs.Label(num_top_classes=
|
29 |
title=title,
|
30 |
description=description,
|
31 |
article=article,
|
|
|
19 |
description = "9 Diseases + 1 Normal class."
|
20 |
interpretation='default'
|
21 |
examples = ["sample_images/"+file for file in files]
|
22 |
+
article="<p style='text-align: center'><a href='https://dicksonneoh.com/portfolio/pytorch_at_the_edge_timm_torchscript_flutter/' target='_blank'>来源博客</a></p>"
|
23 |
enable_queue=True
|
24 |
|
25 |
gr.Interface(
|
26 |
fn=predict,
|
27 |
inputs=gr.inputs.Image(shape=(224, 224)),
|
28 |
+
outputs=gr.outputs.Label(num_top_classes=10),
|
29 |
title=title,
|
30 |
description=description,
|
31 |
article=article,
|