aifeifei798 commited on
Commit
6c1c0b0
·
verified ·
1 Parent(s): e199386

Upload 7 files

Browse files
Files changed (2) hide show
  1. app.py +0 -1
  2. feifeilib/feifeimodload.py +1 -3
app.py CHANGED
@@ -1,6 +1,5 @@
1
  from feifeiui.feifeiui import create_ui
2
 
3
-
4
  if __name__ == "__main__":
5
  FeiFei = create_ui()
6
  FeiFei.queue().launch()
 
1
  from feifeiui.feifeiui import create_ui
2
 
 
3
  if __name__ == "__main__":
4
  FeiFei = create_ui()
5
  FeiFei.queue().launch()
feifeilib/feifeimodload.py CHANGED
@@ -1,4 +1,3 @@
1
- import gradio as gr
2
  import torch
3
  import spaces
4
  from diffusers import (
@@ -8,8 +7,7 @@ from diffusers import (
8
  from huggingface_hub import hf_hub_download
9
 
10
 
11
- @spaces.GPU()
12
- def feifeimodload(progress=gr.Progress(track_tqdm=True)):
13
 
14
  dtype = torch.bfloat16
15
  device = "cuda" if torch.cuda.is_available() else "cpu"
 
 
1
  import torch
2
  import spaces
3
  from diffusers import (
 
7
  from huggingface_hub import hf_hub_download
8
 
9
 
10
+ def feifeimodload():
 
11
 
12
  dtype = torch.bfloat16
13
  device = "cuda" if torch.cuda.is_available() else "cpu"