Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ def inference(input_img, transparancy = 0.5, target_layer_number = -1):
|
|
| 55 |
|
| 56 |
return classes[prediction[0].item(),visualization,confidences]
|
| 57 |
|
| 58 |
-
demo = gr.
|
| 59 |
inference,
|
| 60 |
inputs = [
|
| 61 |
gr.Image(width=256,height=256,label="input image"),
|
|
|
|
| 55 |
|
| 56 |
return classes[prediction[0].item(),visualization,confidences]
|
| 57 |
|
| 58 |
+
demo = gr.Interface(
|
| 59 |
inference,
|
| 60 |
inputs = [
|
| 61 |
gr.Image(width=256,height=256,label="input image"),
|