Skip to content

Commit

Permalink
Update vid2vid.py
Browse files Browse the repository at this point in the history
  • Loading branch information
volotat authored Apr 12, 2023
1 parent 02936b0 commit 7f32fc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vid2vid.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
N_PROMPT = "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck"
w,h = 1152, 640 # Width and height of the processed image. Note that actual image processed would be a W x H resolution.

START_FROM_IND = 575 # index of a frame to start a processing from. Might be helpful with long animations where you need to restart the script multiple times
START_FROM_IND = 0 # index of a frame to start a processing from. Might be helpful with long animations where you need to restart the script multiple times
SAVE_FRAMES = True # saves individual frames into 'out' folder if set True. Again might be helpful with long animations

PROCESSING_STRENGTH = 0.85
Expand Down Expand Up @@ -220,4 +220,4 @@ def sendRequest(self):
output_video.release()

# Close all windows
if VISUALIZE: cv2.destroyAllWindows()
if VISUALIZE: cv2.destroyAllWindows()

0 comments on commit 7f32fc1

Please sign in to comment.