Skip to content

Commit

Permalink
print flush
Browse files Browse the repository at this point in the history
  • Loading branch information
mszhanyi committed Jan 28, 2024
1 parent e88beb2 commit 6fc090d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import argparse
from time import sleep

import cv2
import open_clip
import torch
from PIL import Image
from sentence_transformers import util
from time import sleep


def arg_parser():
Expand Down Expand Up @@ -40,7 +40,7 @@ def main():
image2 = args.image2

score = round(generateScore(image1, image2), 2)
print(f"score is{score}, Images are different", end=" " flush=True)
print(f"score is{score}, Images are different", end=" ", flush=True)
sleep(1)
if score < 99:
print(f"Images are different")
Expand Down

0 comments on commit 6fc090d

Please sign in to comment.