multimodalart HF staff commited on
Commit
d3774b8
1 Parent(s): b95108e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,5 +1,7 @@
1
  import gradio as gr
2
  import torch
 
 
3
  from huggingface_hub import hf_hub_download
4
  from safetensors.torch import load_file
5
  from share_btn import community_icon_html, loading_icon_html, share_js
@@ -29,6 +31,7 @@ from controlnet_aux import ZoeDetector
29
 
30
  from compel import Compel, ReturnedEmbeddingsType
31
  import spaces
 
32
  #from gradio_imageslider import ImageSlider
33
 
34
  with open("sdxl_loras.json", "r") as file:
 
1
  import gradio as gr
2
  import torch
3
+ torch.jit.script = lambda f: f
4
+ import timm
5
  from huggingface_hub import hf_hub_download
6
  from safetensors.torch import load_file
7
  from share_btn import community_icon_html, loading_icon_html, share_js
 
31
 
32
  from compel import Compel, ReturnedEmbeddingsType
33
  import spaces
34
+
35
  #from gradio_imageslider import ImageSlider
36
 
37
  with open("sdxl_loras.json", "r") as file: