app.py
CHANGED
|
@@ -39,7 +39,8 @@ class Pipe:
|
|
| 39 |
output_i, output_j=self.net_i(image_tensor,ipt,prompt=True)
|
| 40 |
clean = output_j[-1][:, 3:, ...]
|
| 41 |
clean=torch.clamp(clean, 0, 1)
|
| 42 |
-
|
|
|
|
| 43 |
|
| 44 |
pipe = Pipe()
|
| 45 |
|
|
|
|
| 39 |
output_i, output_j=self.net_i(image_tensor,ipt,prompt=True)
|
| 40 |
clean = output_j[-1][:, 3:, ...]
|
| 41 |
clean=torch.clamp(clean, 0, 1)
|
| 42 |
+
|
| 43 |
+
return clean
|
| 44 |
|
| 45 |
pipe = Pipe()
|
| 46 |
|