Spaces:
Configuration error
Configuration error
Update marigold_depth_estimation_lcm.py
Browse files
marigold_depth_estimation_lcm.py
CHANGED
|
@@ -19,6 +19,7 @@
|
|
| 19 |
|
| 20 |
|
| 21 |
import math
|
|
|
|
| 22 |
from typing import Dict, Union, Tuple
|
| 23 |
|
| 24 |
import matplotlib
|
|
@@ -362,6 +363,7 @@ class MarigoldDepthConsistencyPipeline(DiffusionPipeline):
|
|
| 362 |
|
| 363 |
# Batched empty text embedding
|
| 364 |
if self.empty_text_embed is None:
|
|
|
|
| 365 |
print("self.empty_text_embed is None")
|
| 366 |
self._encode_empty_text()
|
| 367 |
else:
|
|
|
|
| 19 |
|
| 20 |
|
| 21 |
import math
|
| 22 |
+
import traceback
|
| 23 |
from typing import Dict, Union, Tuple
|
| 24 |
|
| 25 |
import matplotlib
|
|
|
|
| 363 |
|
| 364 |
# Batched empty text embedding
|
| 365 |
if self.empty_text_embed is None:
|
| 366 |
+
traceback.print_tb()
|
| 367 |
print("self.empty_text_embed is None")
|
| 368 |
self._encode_empty_text()
|
| 369 |
else:
|