Muhammad Rama Nurimani commited on
Commit
bdedc7b
1 Parent(s): c6670f7

test deploy

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. colorization_model.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import torch
3
  from torchvision import transforms
4
  from PIL import Image
5
- from .colorization_model import ColorizationModel # Import your model class
6
 
7
  # Load the trained generator model
8
  model_path = "generator.pth"
 
2
  import torch
3
  from torchvision import transforms
4
  from PIL import Image
5
+ from colorization_model import ColorizationModel # Import your model class
6
 
7
  # Load the trained generator model
8
  model_path = "generator.pth"
colorization_model.py CHANGED
@@ -1,4 +1,4 @@
1
- from .pix2pix_model import Pix2PixModel
2
  import torch
3
  from skimage import color # used for lab2rgb
4
  import numpy as np
 
1
+ from pix2pix_model import Pix2PixModel
2
  import torch
3
  from skimage import color # used for lab2rgb
4
  import numpy as np