Spaces:
Build error
Build error
Anthony-Ml
commited on
Commit
•
b24f924
1
Parent(s):
b953a35
Update app.py
Browse filesEdited last con layer
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, learn.model[
|
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, learn.model[-1],target_category=None), input_img, interpretation)
|
96 |
|
97 |
#interpretation="default"
|
98 |
enable_queue=True
|