pablovela5620 commited on
Commit
8954b2d
·
verified ·
1 Parent(s): 46d38cc

Upload gradio_app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. gradio_app.py +8 -8
gradio_app.py CHANGED
@@ -1,3 +1,11 @@
 
 
 
 
 
 
 
 
1
  import PIL
2
  import PIL.Image
3
  from PIL.Image import Image
@@ -44,14 +52,6 @@ from monopriors.relative_depth_models import (
44
  from mini_nvs_solver.custom_diffusers_pipeline.svd import StableVideoDiffusionPipeline
45
  from mini_nvs_solver.custom_diffusers_pipeline.scheduler import EulerDiscreteScheduler
46
 
47
- try:
48
- import spaces # type: ignore
49
-
50
- IN_SPACES = True
51
- except ImportError:
52
- print("Not running on Zero")
53
- IN_SPACES = False
54
-
55
 
56
  SVD_HEIGHT: Final[int] = 576
57
  SVD_WIDTH: Final[int] = 1024
 
1
+ try:
2
+ import spaces # type: ignore
3
+
4
+ IN_SPACES = True
5
+ except ImportError:
6
+ print("Not running on Zero")
7
+ IN_SPACES = False
8
+
9
  import PIL
10
  import PIL.Image
11
  from PIL.Image import Image
 
52
  from mini_nvs_solver.custom_diffusers_pipeline.svd import StableVideoDiffusionPipeline
53
  from mini_nvs_solver.custom_diffusers_pipeline.scheduler import EulerDiscreteScheduler
54
 
 
 
 
 
 
 
 
 
55
 
56
  SVD_HEIGHT: Final[int] = 576
57
  SVD_WIDTH: Final[int] = 1024