Raman Dutt
commited on
Commit
•
d34c7e2
1
Parent(s):
a2d5835
minor fix
Browse files
app.py
CHANGED
@@ -233,7 +233,7 @@ def predict(
|
|
233 |
cuda_device = f"cuda:{device}" if torch.cuda.is_available() else "cpu"
|
234 |
|
235 |
print("Loading Pipeline for {} Fine-Tuning".format(unet_pretraining_type))
|
236 |
-
|
237 |
unet_pretraining_type=unet_pretraining_type,
|
238 |
cuda_device=cuda_device,
|
239 |
)
|
|
|
233 |
cuda_device = f"cuda:{device}" if torch.cuda.is_available() else "cpu"
|
234 |
|
235 |
print("Loading Pipeline for {} Fine-Tuning".format(unet_pretraining_type))
|
236 |
+
sd_pipeline = loadSDModel(
|
237 |
unet_pretraining_type=unet_pretraining_type,
|
238 |
cuda_device=cuda_device,
|
239 |
)
|