Workpam commited on
Commit
dbfebfe
·
verified ·
1 Parent(s): e9d37eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ from transformers import pipeline
3
  from PIL import Image
4
 
5
  # --- Model Setup ---
6
- # Choose any image-to-text model; here we use Google Gemma (4B)
7
- MODEL_NAME = "google/gemma-3-4b-it"
8
 
9
  # Initialize the image-to-text pipeline
10
  captioner = pipeline(
 
3
  from PIL import Image
4
 
5
  # --- Model Setup ---
6
+ # Using an open, unrestricted image-to-text model
7
+ MODEL_NAME = "microsoft/git-large-coco"
8
 
9
  # Initialize the image-to-text pipeline
10
  captioner = pipeline(