Spaces:
Running
Running
The resolution of the generated video will be...
Browse files
diffusers_helper/bucket_tools.py
CHANGED
|
@@ -99,5 +99,5 @@ def find_nearest_bucket(h, w, resolution=640):
|
|
| 99 |
if metric <= min_metric:
|
| 100 |
min_metric = metric
|
| 101 |
best_bucket = (bucket_h, bucket_w)
|
| 102 |
-
print("
|
| 103 |
return best_bucket
|
|
|
|
| 99 |
if metric <= min_metric:
|
| 100 |
min_metric = metric
|
| 101 |
best_bucket = (bucket_h, bucket_w)
|
| 102 |
+
print("The resolution of the generated video will be " + str(best_bucket))
|
| 103 |
return best_bucket
|