prithivMLmods commited on
Commit
2e06458
·
verified ·
1 Parent(s): 6cc23f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -81,9 +81,9 @@ with gr.Blocks() as demo:
81
  # Main interface: image input, analyze button, and prediction output.
82
  with gr.Column():
83
  image_input = gr.Image(type="numpy", label="Upload Image")
84
- with gr.Row()
85
- analyze_btn = gr.Button("Classify / Predict")
86
- output_label = gr.Label(label="Prediction Scores")
87
 
88
  # When the "Analyze" button is clicked, use the selected model to classify the image.
89
  analyze_btn.click(fn=classify, inputs=[image_input, selected_model], outputs=output_label)
 
81
  # Main interface: image input, analyze button, and prediction output.
82
  with gr.Column():
83
  image_input = gr.Image(type="numpy", label="Upload Image")
84
+ with gr.Row(): # <-- Fixed the syntax error here
85
+ analyze_btn = gr.Button("Classify / Predict")
86
+ output_label = gr.Label(label="Prediction Scores")
87
 
88
  # When the "Analyze" button is clicked, use the selected model to classify the image.
89
  analyze_btn.click(fn=classify, inputs=[image_input, selected_model], outputs=output_label)