Spaces:
Runtime error
Runtime error
Muhammad Rama Nurimani
commited on
Commit
·
c6670f7
1
Parent(s):
94850c4
test deploy
Browse files
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"
|