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