Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files
app.py
CHANGED
@@ -1,15 +1,5 @@
|
|
1 |
-
import
|
2 |
-
import os
|
3 |
-
from copy import deepcopy
|
4 |
-
|
5 |
import gradio as gr
|
6 |
-
import numpy as np
|
7 |
-
import torch
|
8 |
-
from diffusers.training_utils import set_seed
|
9 |
-
|
10 |
-
from depthcrafter.depth_crafter_ppl import DepthCrafterPipeline
|
11 |
-
from depthcrafter.unet import DiffusersUNetSpatioTemporalConditionModelDepthCrafter
|
12 |
-
from depthcrafter.utils import read_video_frames, vis_sequence_depth, save_video
|
13 |
from run import DepthCrafterDemo
|
14 |
|
15 |
examples = [
|
|
|
1 |
+
import spaces
|
|
|
|
|
|
|
2 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
from run import DepthCrafterDemo
|
4 |
|
5 |
examples = [
|