Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -425,6 +425,7 @@ def colorize_image(input_style, extracted_line, reference_images, resolution, se
|
|
| 425 |
global MultiResNetModel
|
| 426 |
global cur_style
|
| 427 |
if input_style != cur_style:
|
|
|
|
| 428 |
change_ckpt(input_style)
|
| 429 |
|
| 430 |
tar_width, tar_height = resolution
|
|
|
|
| 425 |
global MultiResNetModel
|
| 426 |
global cur_style
|
| 427 |
if input_style != cur_style:
|
| 428 |
+
gr.Info("Loading the model...")
|
| 429 |
change_ckpt(input_style)
|
| 430 |
|
| 431 |
tar_width, tar_height = resolution
|