Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ def loading_data(img):
|
|
| 62 |
|
| 63 |
def predict(img):
|
| 64 |
if img is None:
|
| 65 |
-
return "No image selected", plt.figure(
|
| 66 |
"""the main process of inference"""
|
| 67 |
test_loader = loading_data(img)
|
| 68 |
#model = SASNet()
|
|
|
|
| 62 |
|
| 63 |
def predict(img):
|
| 64 |
if img is None:
|
| 65 |
+
return "No image selected", plt.figure()
|
| 66 |
"""the main process of inference"""
|
| 67 |
test_loader = loading_data(img)
|
| 68 |
#model = SASNet()
|