Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import threading
|
|
4 |
import time
|
5 |
import gradio as gr
|
6 |
import numpy as np
|
|
|
7 |
import torch
|
8 |
from PIL import Image
|
9 |
import glob
|
@@ -20,7 +21,7 @@ from scepter.modules.utils.file_system import FS
|
|
20 |
from inference.ace_plus_diffusers import ACEPlusDiffuserInference
|
21 |
from inference.utils import edit_preprocess
|
22 |
from examples.examples import all_examples
|
23 |
-
|
24 |
|
25 |
inference_dict = {
|
26 |
"ACE_DIFFUSER_PLUS": ACEPlusDiffuserInference
|
|
|
4 |
import time
|
5 |
import gradio as gr
|
6 |
import numpy as np
|
7 |
+
import spaces
|
8 |
import torch
|
9 |
from PIL import Image
|
10 |
import glob
|
|
|
21 |
from inference.ace_plus_diffusers import ACEPlusDiffuserInference
|
22 |
from inference.utils import edit_preprocess
|
23 |
from examples.examples import all_examples
|
24 |
+
|
25 |
|
26 |
inference_dict = {
|
27 |
"ACE_DIFFUSER_PLUS": ACEPlusDiffuserInference
|