Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -88,10 +88,11 @@ with gr.Blocks() as demo:
|
|
88 |
for btn, name in zip(buttons, model_names):
|
89 |
btn.click(fn=lambda n=name: select_model(n), inputs=[], outputs=[selected_model] + buttons)
|
90 |
|
91 |
-
with gr.
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
|
|
96 |
|
97 |
demo.launch()
|
|
|
88 |
for btn, name in zip(buttons, model_names):
|
89 |
btn.click(fn=lambda n=name: select_model(n), inputs=[], outputs=[selected_model] + buttons)
|
90 |
|
91 |
+
with gr.Row():
|
92 |
+
with gr.Column():
|
93 |
+
image_input = gr.Image(type="numpy", label="Upload Image")
|
94 |
+
analyze_btn = gr.Button("Classify / Predict")
|
95 |
+
|
96 |
+
output_label = gr.Label(label="Prediction Scores") # Output on the right
|
97 |
|
98 |
demo.launch()
|