Spaces:
Running
on
L4
Running
on
L4
flamehaze1115
commited on
Update gradio_app.py
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
@@ -29,7 +29,7 @@ from mvdiffusion.pipelines.pipeline_mvdiffusion_image import MVDiffusionImagePip
|
|
29 |
from diffusers import AutoencoderKL, DDPMScheduler, DDIMScheduler
|
30 |
from einops import rearrange
|
31 |
import numpy as np
|
32 |
-
from transformers import
|
33 |
|
34 |
def save_image(tensor):
|
35 |
ndarr = tensor.mul(255).add_(0.5).clamp_(0, 255).permute(1, 2, 0).to("cpu", torch.uint8).numpy()
|
|
|
29 |
from diffusers import AutoencoderKL, DDPMScheduler, DDIMScheduler
|
30 |
from einops import rearrange
|
31 |
import numpy as np
|
32 |
+
from transformers import pipeline
|
33 |
|
34 |
def save_image(tensor):
|
35 |
ndarr = tensor.mul(255).add_(0.5).clamp_(0, 255).permute(1, 2, 0).to("cpu", torch.uint8).numpy()
|