Spaces:
Runtime error
Runtime error
Commit
·
bfd4996
1
Parent(s):
8a84f1b
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ def get_grad(img):
|
|
147 |
# else: pred_class = "dog"
|
148 |
|
149 |
text = "Raw Score: " + str(y_pred[0]) + "\nClassification: " + infer
|
150 |
-
return
|
151 |
|
152 |
demo = gr.Interface(
|
153 |
fn = get_grad,
|
|
|
147 |
# else: pred_class = "dog"
|
148 |
|
149 |
text = "Raw Score: " + str(y_pred[0]) + "\nClassification: " + infer
|
150 |
+
return grad_img_c, grad_img_d, text
|
151 |
|
152 |
demo = gr.Interface(
|
153 |
fn = get_grad,
|