Skip to content

Commit

Permalink
Lower preview size once again
Browse files Browse the repository at this point in the history
  • Loading branch information
henryruhs committed Aug 16, 2023
1 parent 7f38f8e commit 6d8da30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roop/uis/components/preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def extract_preview_frame(temp_frame: Frame) -> Frame:
return temp_frame


def reduce_preview_frame(temp_frame: Frame, max_height: int = 640) -> Frame:
def reduce_preview_frame(temp_frame: Frame, max_height: int = 480) -> Frame:
height, width = temp_frame.shape[:2]
if height > max_height:
scale = max_height / height
Expand Down

0 comments on commit 6d8da30

Please sign in to comment.