Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -7,10 +7,10 @@ import gradio as gr
|
|
7 |
import numpy as np
|
8 |
import torch
|
9 |
from facexlib.utils.face_restoration_helper import FaceRestoreHelper
|
|
|
|
|
10 |
from PIL import Image
|
11 |
-
|
12 |
from torchvision.transforms.functional import normalize
|
13 |
-
from huggingface_hub import hf_hub_download
|
14 |
|
15 |
from dreamo.dreamo_pipeline import DreamOPipeline
|
16 |
from dreamo.utils import img2tensor, resize_numpy_image_area, tensor2img, resize_numpy_image_long
|
|
|
7 |
import numpy as np
|
8 |
import torch
|
9 |
from facexlib.utils.face_restoration_helper import FaceRestoreHelper
|
10 |
+
import huggingface_hub
|
11 |
+
from huggingface_hub import hf_hub_download
|
12 |
from PIL import Image
|
|
|
13 |
from torchvision.transforms.functional import normalize
|
|
|
14 |
|
15 |
from dreamo.dreamo_pipeline import DreamOPipeline
|
16 |
from dreamo.utils import img2tensor, resize_numpy_image_area, tensor2img, resize_numpy_image_long
|