Spaces:
Sleeping
Sleeping
Commit
·
12d8e70
1
Parent(s):
5ea968c
Update app.py
Browse files
app.py
CHANGED
@@ -58,9 +58,9 @@ with gr.Blocks() as demo:
|
|
58 |
with gr.Row():
|
59 |
classify = gr.Button("Classify")
|
60 |
interpret = gr.Button("Interpret")
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
# interpretation = gr.outputs.Image(type="numpy", label="Interpretation")
|
65 |
gr.Examples(["TomatoHealthy2.jpg", "TomatoYellowCurlVirus3.jpg", "AppleCedarRust3.jpg"],
|
66 |
inputs=[image],)
|
|
|
58 |
with gr.Row():
|
59 |
classify = gr.Button("Classify")
|
60 |
interpret = gr.Button("Interpret")
|
61 |
+
with gr.Column():
|
62 |
+
label = gr.outputs.Label(num_top_classes=3)
|
63 |
+
interpretation = gr.Plot(label="Interpretation")
|
64 |
# interpretation = gr.outputs.Image(type="numpy", label="Interpretation")
|
65 |
gr.Examples(["TomatoHealthy2.jpg", "TomatoYellowCurlVirus3.jpg", "AppleCedarRust3.jpg"],
|
66 |
inputs=[image],)
|