RandomCatLover commited on
Commit
12d8e70
·
1 Parent(s): 5ea968c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- 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],)
 
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],)