Spaces:
Running
Running
Fix type annotation
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ class App:
|
|
| 73 |
@torch.inference_mode()
|
| 74 |
def generate_interpolated_images(
|
| 75 |
self, seed0: int, psi0: float, seed1: int, psi1: float,
|
| 76 |
-
num_intermediate: int) ->
|
| 77 |
seed0 = int(np.clip(seed0, 0, np.iinfo(np.uint32).max))
|
| 78 |
seed1 = int(np.clip(seed1, 0, np.iinfo(np.uint32).max))
|
| 79 |
|
|
|
|
| 73 |
@torch.inference_mode()
|
| 74 |
def generate_interpolated_images(
|
| 75 |
self, seed0: int, psi0: float, seed1: int, psi1: float,
|
| 76 |
+
num_intermediate: int) -> list[np.ndarray]:
|
| 77 |
seed0 = int(np.clip(seed0, 0, np.iinfo(np.uint32).max))
|
| 78 |
seed1 = int(np.clip(seed1, 0, np.iinfo(np.uint32).max))
|
| 79 |
|