Skip to content

Commit

Permalink
revert image processing
Browse files Browse the repository at this point in the history
  • Loading branch information
eggry authored Oct 12, 2023
1 parent 627d92f commit 2484462
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llava/serve/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def main(args):
roles = conv.roles

image = load_image(args.image_file)
image_tensor = image_processor.preprocess(image, return_tensors='pt')['pixel_values'].half().cuda()

while True:
try:
Expand Down

0 comments on commit 2484462

Please sign in to comment.