ajinkyakolhe112
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -44,10 +44,10 @@ with gr.Blocks(title="Image Classification for 1000 Objects", css=".gradio-conta
|
|
44 |
|
45 |
input_box.change(display_model_details, input_box, output_box)
|
46 |
|
47 |
-
# Image Upload and Gallery
|
48 |
-
uploaded_images = gr.Gallery(label="Uploaded Images", type="image")
|
49 |
-
upload_button = gr.Button("Upload Images")
|
50 |
-
upload_button.click(fn=lambda images: uploaded_images.update(images), inputs=gr.Image(type="file", label="Upload Images")) # Filter for JPG only
|
51 |
|
52 |
# gr.Interface(
|
53 |
# fn=display_model_details,
|
|
|
44 |
|
45 |
input_box.change(display_model_details, input_box, output_box)
|
46 |
|
47 |
+
# # Image Upload and Gallery
|
48 |
+
# uploaded_images = gr.Gallery(label="Uploaded Images", type="image")
|
49 |
+
# upload_button = gr.Button("Upload Images")
|
50 |
+
# upload_button.click(fn=lambda images: uploaded_images.update(images), inputs=gr.Image(type="file", label="Upload Images")) # Filter for JPG only
|
51 |
|
52 |
# gr.Interface(
|
53 |
# fn=display_model_details,
|