yyyang commited on
Commit
1d23a19
·
verified ·
1 Parent(s): 0b46483

Update infer.py

Browse files
Files changed (1) hide show
  1. infer.py +1 -1
infer.py CHANGED
@@ -10,7 +10,7 @@ from PIL import Image, ImageDraw
10
  parser = argparse.ArgumentParser(description="Qwen-VL Inference")
11
  parser.add_argument("--image_path", type=str, required=False, default="./test_screenshots/amazon.png", help="Path to the input image")
12
  parser.add_argument("--query", type=str, required=False, default="Click on the 'Chairs'.", help="Text query or instruction")
13
- parser.add_argument("--model_dir", type=str, default="./showui-2b-awq-4bit", help="Path to the local ShowUI model directory")
14
  args = parser.parse_args()
15
 
16
  DEVICE = "cuda:0"
 
10
  parser = argparse.ArgumentParser(description="Qwen-VL Inference")
11
  parser.add_argument("--image_path", type=str, required=False, default="./test_screenshots/amazon.png", help="Path to the input image")
12
  parser.add_argument("--query", type=str, required=False, default="Click on the 'Chairs'.", help="Text query or instruction")
13
+ parser.add_argument("--model_dir", type=str, default="./", help="Path to the local ShowUI model directory")
14
  args = parser.parse_args()
15
 
16
  DEVICE = "cuda:0"