Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -151,7 +151,8 @@ def run(image):
|
|
| 151 |
+ " --with_scratch")
|
| 152 |
run_cmd(command)
|
| 153 |
|
| 154 |
-
result_restoration = Image.open("
|
|
|
|
| 155 |
shutil.rmtree("Temp")
|
| 156 |
|
| 157 |
result_colorization = inferColorization(result_restoration)
|
|
|
|
| 151 |
+ " --with_scratch")
|
| 152 |
run_cmd(command)
|
| 153 |
|
| 154 |
+
#result_restoration = Image.open("Temp/final_output/input_img.png")
|
| 155 |
+
result_restoration = Image.open(home/user/app/Temp/final_output/input_img.png
|
| 156 |
shutil.rmtree("Temp")
|
| 157 |
|
| 158 |
result_colorization = inferColorization(result_restoration)
|