Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,10 +108,6 @@ def process_image(
|
|
| 108 |
sample_times=1
|
| 109 |
)
|
| 110 |
|
| 111 |
-
# Set seed if provided
|
| 112 |
-
if seed is not None:
|
| 113 |
-
generator.manual_seed(seed)
|
| 114 |
-
|
| 115 |
# Process input image
|
| 116 |
validation_image = Image.fromarray(input_image)
|
| 117 |
ori_width, ori_height = validation_image.size
|
|
|
|
| 108 |
sample_times=1
|
| 109 |
)
|
| 110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
# Process input image
|
| 112 |
validation_image = Image.fromarray(input_image)
|
| 113 |
ori_width, ori_height = validation_image.size
|