Spaces:
Runtime error
Runtime error
update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,10 @@ def inference(DoYouWantToShowGradCAMMedImages, HowManyImages, WhichLayer, transp
|
|
84 |
gradCAM_demo = gr.Interface(
|
85 |
fn=inference,
|
86 |
#DoYouWantToShowGradCAMMedImages, HowManyImages, WhichLayer, transparency
|
87 |
-
|
|
|
|
|
|
|
88 |
outputs=['image'],
|
89 |
title="GradCammd Images",
|
90 |
description="If your answer to the question DoYouWantToShowGradCAMMedImages is yes, then only it works.",
|
|
|
84 |
gradCAM_demo = gr.Interface(
|
85 |
fn=inference,
|
86 |
#DoYouWantToShowGradCAMMedImages, HowManyImages, WhichLayer, transparency
|
87 |
+
|
88 |
+
inputs=[ gr.Textbox(label="Do You Want To Show GradCAMMed Images ?", info="Initial text", lines=1),
|
89 |
+
gr.Slider(0, 20, step=5), gr.Slider(-3, -1, value = -1, step=1),
|
90 |
+
gr.Slider(0, 1, value = 0.7, label = "Overall Opacity of the Overlay")],
|
91 |
outputs=['image'],
|
92 |
title="GradCammd Images",
|
93 |
description="If your answer to the question DoYouWantToShowGradCAMMedImages is yes, then only it works.",
|