Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import torch
|
|
|
|
| 3 |
torch.jit.script = lambda f: f
|
| 4 |
import timm
|
| 5 |
import time
|
|
|
|
| 6 |
from huggingface_hub import hf_hub_download, HfFileSystem, ModelCard, snapshot_download
|
| 7 |
from safetensors.torch import load_file
|
| 8 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
|
@@ -33,7 +35,6 @@ from pipeline_stable_diffusion_xl_instantid_img2img import StableDiffusionXLInst
|
|
| 33 |
from controlnet_aux import ZoeDetector
|
| 34 |
|
| 35 |
from compel import Compel, ReturnedEmbeddingsType
|
| 36 |
-
import spaces
|
| 37 |
|
| 38 |
from gradio_imageslider import ImageSlider
|
| 39 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import torch
|
| 3 |
+
import spaces
|
| 4 |
torch.jit.script = lambda f: f
|
| 5 |
import timm
|
| 6 |
import time
|
| 7 |
+
|
| 8 |
from huggingface_hub import hf_hub_download, HfFileSystem, ModelCard, snapshot_download
|
| 9 |
from safetensors.torch import load_file
|
| 10 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
|
|
|
| 35 |
from controlnet_aux import ZoeDetector
|
| 36 |
|
| 37 |
from compel import Compel, ReturnedEmbeddingsType
|
|
|
|
| 38 |
|
| 39 |
from gradio_imageslider import ImageSlider
|
| 40 |
|