Update my_model/KBVQA.py
Browse files- my_model/KBVQA.py +1 -0
my_model/KBVQA.py
CHANGED
@@ -2,6 +2,7 @@ import streamlit as st
|
|
2 |
import torch
|
3 |
import copy
|
4 |
import os
|
|
|
5 |
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
|
6 |
from typing import Tuple, Optional
|
7 |
from my_model.gen_utilities import free_gpu_resources
|
|
|
2 |
import torch
|
3 |
import copy
|
4 |
import os
|
5 |
+
from PIL import Image
|
6 |
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
|
7 |
from typing import Tuple, Optional
|
8 |
from my_model.gen_utilities import free_gpu_resources
|