Spaces:
Running
on
Zero
Running
on
Zero
fix ZEROCPU bug
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
import torch
|
3 |
import torch.nn.functional as F
|
4 |
from safetensors.numpy import save_file, load_file
|
@@ -21,7 +22,7 @@ from models.depth_guider import DepthGuider
|
|
21 |
from mimicbrush import MimicBrush_RefNet
|
22 |
from data_utils import *
|
23 |
from modelscope.hub.snapshot_download import snapshot_download as ms_snapshot_download
|
24 |
-
|
25 |
|
26 |
|
27 |
from huggingface_hub import snapshot_download
|
|
|
1 |
import gradio as gr
|
2 |
+
import spaces
|
3 |
import torch
|
4 |
import torch.nn.functional as F
|
5 |
from safetensors.numpy import save_file, load_file
|
|
|
22 |
from mimicbrush import MimicBrush_RefNet
|
23 |
from data_utils import *
|
24 |
from modelscope.hub.snapshot_download import snapshot_download as ms_snapshot_download
|
25 |
+
|
26 |
|
27 |
|
28 |
from huggingface_hub import snapshot_download
|