Spaces:
Build error
Build error
Anthony-Ml
commited on
Commit
•
08afe4a
1
Parent(s):
b24f924
Update app.py
Browse filesAdd layer name
app.py
CHANGED
@@ -92,7 +92,7 @@ with gr.Blocks() as demo:
|
|
92 |
label = gr.Label(label="Predicted Class")
|
93 |
with gr.Column():
|
94 |
interpretation = gr.components.Interpretation(input_img)
|
95 |
-
interpret.click(interpretation_function(input_img,learn,
|
96 |
|
97 |
#interpretation="default"
|
98 |
enable_queue=True
|
|
|
92 |
label = gr.Label(label="Predicted Class")
|
93 |
with gr.Column():
|
94 |
interpretation = gr.components.Interpretation(input_img)
|
95 |
+
interpret.click(interpretation_function(input_img,learn, "_conv_head",target_category=None), input_img, interpretation)
|
96 |
|
97 |
#interpretation="default"
|
98 |
enable_queue=True
|