Spaces:
Build error
Build error
simayhosmeyve
commited on
Commit
•
047e0e7
1
Parent(s):
d385694
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,6 @@ import pathlib
|
|
4 |
import time
|
5 |
import datetime
|
6 |
from matplotlib import pyplot as plt
|
7 |
-
from IPython import display
|
8 |
-
from glob import glob
|
9 |
import numpy as np
|
10 |
import cv2
|
11 |
import math
|
@@ -45,8 +43,8 @@ def gray_imread(path):
|
|
45 |
return img
|
46 |
|
47 |
def load():
|
48 |
-
input_paths = sorted(
|
49 |
-
real_paths = sorted(
|
50 |
input_images = []
|
51 |
real_images = []
|
52 |
for path in input_paths:
|
|
|
4 |
import time
|
5 |
import datetime
|
6 |
from matplotlib import pyplot as plt
|
|
|
|
|
7 |
import numpy as np
|
8 |
import cv2
|
9 |
import math
|
|
|
43 |
return img
|
44 |
|
45 |
def load():
|
46 |
+
input_paths = sorted('*.png')
|
47 |
+
real_paths = sorted('*.png')
|
48 |
input_images = []
|
49 |
real_images = []
|
50 |
for path in input_paths:
|