Update image_to_caption.py
Browse files- image_to_caption.py +2 -2
image_to_caption.py
CHANGED
@@ -312,8 +312,8 @@ def open_image_to_caption():
|
|
312 |
title_label = tk.Label(root, text="Image Caption Generator", font=('Helvetica', 16))
|
313 |
title_label.pack(pady=10)
|
314 |
|
315 |
-
warning_label = tk.Label(root, text="NOTE: 4-bit requires 20GB RAM and 12GB VRAM, 8-bit requires 20GB RAM and 16GB VRAM, 16-bit requires 50GB RAM and 24GB VRAM, 32-bit requires 85GB RAM and 40GB VRAM.",
|
316 |
-
font=('Helvetica', 10), fg="red", wraplength=
|
317 |
warning_label.pack(pady=10)
|
318 |
|
319 |
select_files_button = tk.Button(root, text="Select Files", command=select_files)
|
|
|
312 |
title_label = tk.Label(root, text="Image Caption Generator", font=('Helvetica', 16))
|
313 |
title_label.pack(pady=10)
|
314 |
|
315 |
+
warning_label = tk.Label(root, text="NOTE: 4-bit requires 20GB of RAM and 12GB of VRAM, 8-bit requires 20GB of RAM and 16GB of VRAM, 16-bit requires 50GB of RAM and 24GB of VRAM, 32-bit requires 85GB of RAM and 40GB of VRAM. Although GPUs with less VRAM can still run, the performance will be very slow.",
|
316 |
+
font=('Helvetica', 10), fg="red", wraplength=850, justify="left")
|
317 |
warning_label.pack(pady=10)
|
318 |
|
319 |
select_files_button = tk.Button(root, text="Select Files", command=select_files)
|