Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def inference(input_img, transparency=0.5, target_layer_number=-1, num_images=1,
|
|
80 |
|
81 |
title = "CIFAR10 trained on ResNet18 Model with GradCAM"
|
82 |
description = "A simple Gradio interface to infer on ResNet model, and get GradCAM results"
|
83 |
-
examples = [["
|
84 |
demo = gr.Interface(
|
85 |
inference,
|
86 |
inputs = [gr.Image(shape=(32, 32), label="Input Image"),
|
|
|
80 |
|
81 |
title = "CIFAR10 trained on ResNet18 Model with GradCAM"
|
82 |
description = "A simple Gradio interface to infer on ResNet model, and get GradCAM results"
|
83 |
+
examples = [["car_1.jpg",0.5,-1],["car_2.jpg",0.5,-1],["cat_1.jpg",0.5,-1],["cat_2.jpg",0.5,-1],["dog_1.jpg",0.5,-1],["dog_2.jpg",0.5,-1],["frog_1.jpg",0.5,-1],["frog_2.jpg",0.5,-1],["horse_1.jpg",0.5,-1],["horse_2.jpg",0.5,-1]]
|
84 |
demo = gr.Interface(
|
85 |
inference,
|
86 |
inputs = [gr.Image(shape=(32, 32), label="Input Image"),
|