Эх сурвалжийг харах

Merge pull request #93 from gc-fu/patch-1

Fix not used arguments in demo_vllm.py
Qing Yan 3 сар өмнө
parent
commit
2a5977c597
1 өөрчлөгдсөн 3 нэмэгдсэн , 2 устгасан
  1. 3 2
      demo/demo_vllm.py

+ 3 - 2
demo/demo_vllm.py

@@ -29,10 +29,11 @@ def main():
     response = inference_with_vllm(
         image,
         prompt, 
-        ip="localhost",
-        port=8000,
+        ip=args.ip,
+        port=args.port,
         temperature=0.1,
         top_p=0.9,
+        model_name=args.model_name,
     )
     print(f"response: {response}")