Spaces:
Sleeping
Sleeping
Commit
·
9567ac8
1
Parent(s):
21c9f5a
Update app.py
Browse files
app.py
CHANGED
@@ -154,4 +154,5 @@ with gr.Blocks(css=css) as demo:
|
|
154 |
|
155 |
# Set the gallery layout and height directly in the constructor
|
156 |
gallery = gr.Gallery(label="Show images", show_label=True, elem_id="gallery", columns=8, height="auto")
|
|
|
157 |
demo.launch()
|
|
|
154 |
|
155 |
# Set the gallery layout and height directly in the constructor
|
156 |
gallery = gr.Gallery(label="Show images", show_label=True, elem_id="gallery", columns=8, height="auto")
|
157 |
+
btn.click(predict_beetle, inputs, gallery)
|
158 |
demo.launch()
|