Spaces:
Running
on
Zero
Running
on
Zero
Fix ZeroGPU error (#6)
Browse files- Fix ZeroGPU error (72505bbdf97ef19d539bbaac7770c341a049a771)
Co-authored-by: hysts <[email protected]>
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,6 @@ 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 |
-
import spaces
|
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 |
from huggingface_hub import snapshot_download
|