Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def predict(sketch, description):
|
|
| 34 |
# pipe.enable_xformers_memory_efficient_attention()
|
| 35 |
|
| 36 |
# Move pipeline to GPU
|
| 37 |
-
pipe = pipe.to("cuda")
|
| 38 |
|
| 39 |
result = pipe(description, image, num_inference_steps=10).images[0]
|
| 40 |
|
|
|
|
| 34 |
# pipe.enable_xformers_memory_efficient_attention()
|
| 35 |
|
| 36 |
# Move pipeline to GPU
|
| 37 |
+
# pipe = pipe.to("cuda")
|
| 38 |
|
| 39 |
result = pipe(description, image, num_inference_steps=10).images[0]
|
| 40 |
|