From cb8f011e701cd7b589c54c8980643a1dcc90536a Mon Sep 17 00:00:00 2001 From: Deyao Zhu Date: Mon, 16 Oct 2023 12:54:13 +0300 Subject: [PATCH] update the tmp image path --- demo_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo_v2.py b/demo_v2.py index 79859cf..d35bddc 100644 --- a/demo_v2.py +++ b/demo_v2.py @@ -114,7 +114,7 @@ def computeIoU(bbox1, bbox2): def save_tmp_img(visual_img): file_name = "".join([str(random.randint(0, 9)) for _ in range(5)]) + ".jpg" - file_path = "/tmp/" + file_name + file_path = "/tmp/gradio" + file_name visual_img.save(file_path) return file_path