nursulu commited on
Commit
b30a610
1 Parent(s): 53a7d09
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -14,6 +14,8 @@ import io
14
  from utils.model_utils import get_model_caption
15
  from utils.image_utils import overlay_caption
16
 
 
 
17
  @st.cache_resource
18
  def load_models():
19
  base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2b")
 
14
  from utils.model_utils import get_model_caption
15
  from utils.image_utils import overlay_caption
16
 
17
+ !pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
18
+
19
  @st.cache_resource
20
  def load_models():
21
  base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2b")