0.0.0.0 -> 127.0.0.1

This commit is contained in:
ataymano@microsoft.com
2025-08-20 12:09:12 -04:00
parent 5171b09248
commit 0e7ee8e23f
4 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ def parse_arguments():
parser.add_argument('--caption_model_path', type=str, default='../../weights/icon_caption_florence', help='Path to the caption model')
parser.add_argument('--device', type=str, default='cpu', help='Device to run the model')
parser.add_argument('--BOX_TRESHOLD', type=float, default=0.05, help='Threshold for box detection')
parser.add_argument('--host', type=str, default='0.0.0.0', help='Host for the API')
parser.add_argument('--host', type=str, default='127.0.0.1', help='Host for the API')
parser.add_argument('--port', type=int, default=8000, help='Port for the API')
args = parser.parse_args()
return args