Spaces:
Runtime error
Runtime error
remove print
Browse files- interface/app.py +0 -2
interface/app.py
CHANGED
@@ -6,7 +6,6 @@ sys.path.append("..")
|
|
6 |
from model_loader import Model
|
7 |
from PIL import Image
|
8 |
import cv2
|
9 |
-
import io
|
10 |
from huggingface_hub import snapshot_download
|
11 |
import json
|
12 |
|
@@ -66,7 +65,6 @@ def random_sample(model_name: str):
|
|
66 |
model = models[model_name]
|
67 |
img, latents = model.random_sample()
|
68 |
img_pil = cv_to_pil(img)
|
69 |
-
print(img_pil)
|
70 |
return img_pil, model_name, latents
|
71 |
|
72 |
|
|
|
6 |
from model_loader import Model
|
7 |
from PIL import Image
|
8 |
import cv2
|
|
|
9 |
from huggingface_hub import snapshot_download
|
10 |
import json
|
11 |
|
|
|
65 |
model = models[model_name]
|
66 |
img, latents = model.random_sample()
|
67 |
img_pil = cv_to_pil(img)
|
|
|
68 |
return img_pil, model_name, latents
|
69 |
|
70 |
|