Alexander Bagus commited on
Commit
1afdb64
·
1 Parent(s): f2125e1
Files changed (2) hide show
  1. app.py +4 -3
  2. static/header.html +1 -1
app.py CHANGED
@@ -59,9 +59,10 @@ pipe_lora = QwenImagePipeline.from_pretrained(
59
  )
60
 
61
  pipe_imagen = QwenImagePipeline.from_pretrained(
62
- "Qwen/Qwen-Image",
63
- torch_dtype=DTYPE
64
- ).to("cuda")
 
65
 
66
 
67
  @spaces.GPU
 
59
  )
60
 
61
  pipe_imagen = QwenImagePipeline.from_pretrained(
62
+ "Qwen/Qwen-Image",
63
+ torch_dtype=DTYPE,
64
+ device="cuda"
65
+ )
66
 
67
 
68
  @spaces.GPU
static/header.html CHANGED
@@ -6,6 +6,6 @@
6
  <p>
7
  Generate LoRA from a few images.
8
  <br>
9
- If you like my work, please support me by visiting <a href="https://aisudo.com/" target="_blank">AiSudo</a> 😊 -->
10
  </div>
11
  </div>
 
6
  <p>
7
  Generate LoRA from a few images.
8
  <br>
9
+ If you like my work, please support me by visiting <a href="https://aisudo.com/" target="_blank">AiSudo</a> 😊
10
  </div>
11
  </div>