Update app.py
Browse files
app.py
CHANGED
|
@@ -399,7 +399,7 @@ def preprocess_input(input_image):
|
|
| 399 |
def test_single_image( input_image):
|
| 400 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 401 |
# generator_path = './pre_trained_model_064.pt'
|
| 402 |
-
generator_path = './
|
| 403 |
|
| 404 |
|
| 405 |
|
|
|
|
| 399 |
def test_single_image( input_image):
|
| 400 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 401 |
# generator_path = './pre_trained_model_064.pt'
|
| 402 |
+
generator_path = './MedSRGAN_gene_016.pt'
|
| 403 |
|
| 404 |
|
| 405 |
|