Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def inference(input_image, transparency=0.5, target_layer_number=-1):
|
|
69 |
demo = gr.Interface(
|
70 |
inference,
|
71 |
inputs = [
|
72 |
-
gr
|
73 |
gr.Slider(0, 1, value=0.5, label="Overall opacity fo the overlay"),
|
74 |
gr.Slider(-2, -1, value=-2, step=1, label="Which GradCAM layer?")
|
75 |
],
|
|
|
69 |
demo = gr.Interface(
|
70 |
inference,
|
71 |
inputs = [
|
72 |
+
gr.Image(width=256, height=256, label="Input Image"),
|
73 |
gr.Slider(0, 1, value=0.5, label="Overall opacity fo the overlay"),
|
74 |
gr.Slider(-2, -1, value=-2, step=1, label="Which GradCAM layer?")
|
75 |
],
|