Spaces:
Rforfth4
/
Runtime error

Shitao commited on
Commit
84db7c2
Β·
1 Parent(s): ce00ae2

to_cuda bugfix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import spaces
8
  from OmniGen import OmniGenPipeline
9
 
10
  pipe = OmniGenPipeline.from_pretrained("shitao/tmp-preview")
11
- pipe.to("cuda")
12
 
13
  # η€ΊδΎ‹ε€„η†ε‡½ζ•°οΌšη”Ÿζˆε›Ύεƒ
14
  @spaces.GPU
 
8
  from OmniGen import OmniGenPipeline
9
 
10
  pipe = OmniGenPipeline.from_pretrained("shitao/tmp-preview")
11
+ # pipe.to("cuda")
12
 
13
  # η€ΊδΎ‹ε€„η†ε‡½ζ•°οΌšη”Ÿζˆε›Ύεƒ
14
  @spaces.GPU