Spaces:
Runtime error
Runtime error
to_cuda bugfix
Browse files
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
|