Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
ae44ce9
1
Parent(s):
9c07be0
Make sure spaces is imported before torch
Browse files
app.py
CHANGED
@@ -4,13 +4,13 @@ sys.path.append('./')
|
|
4 |
|
5 |
import os
|
6 |
import cv2
|
7 |
-
import torch
|
8 |
import random
|
9 |
import numpy as np
|
10 |
from PIL import Image
|
11 |
from diffusers import ControlNetModel, StableDiffusionXLControlNetPipeline
|
12 |
|
13 |
import spaces
|
|
|
14 |
import gradio as gr
|
15 |
from huggingface_hub import hf_hub_download
|
16 |
|
|
|
4 |
|
5 |
import os
|
6 |
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
|
16 |
|