Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
bd4377a
1
Parent(s):
9e62897
Make sure diffusers is imported after spaces
Browse filesReason: NVML must not be initiliazed before loading spaces
app.py
CHANGED
@@ -7,9 +7,9 @@ import cv2
|
|
7 |
import random
|
8 |
import numpy as np
|
9 |
from PIL import Image
|
10 |
-
from diffusers import ControlNetModel, StableDiffusionXLControlNetPipeline
|
11 |
|
12 |
import spaces
|
|
|
13 |
import torch
|
14 |
import gradio as gr
|
15 |
from huggingface_hub import hf_hub_download
|
|
|
7 |
import random
|
8 |
import numpy as np
|
9 |
from PIL import Image
|
|
|
10 |
|
11 |
import spaces
|
12 |
+
from diffusers import ControlNetModel, StableDiffusionXLControlNetPipeline
|
13 |
import torch
|
14 |
import gradio as gr
|
15 |
from huggingface_hub import hf_hub_download
|