jquenum commited on
Commit
1e10baa
·
verified ·
1 Parent(s): 7e21a59

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -80,8 +80,8 @@ This will render as a properly formatted Python code snippet in Markdown. When y
80
  from transformers import AutoModelForImageSegmentation, AutoTokenizer
81
 
82
  # Load model and tokenizer
83
- model = AutoModelForImageSegmentation.from_pretrained("jquenum/LISAt-7b")
84
- tokenizer = AutoTokenizer.from_pretrained("jquenum/LISAt-7b")
85
 
86
  # Example usage for inference
87
  input_image = "path/to/your/image.png" # Replace with your input image
@@ -89,6 +89,7 @@ inputs = tokenizer(input_image, return_tensors="pt")
89
 
90
  # Generate segmentation or other tasks
91
  outputs = model.generate(**inputs)
 
92
 
93
 
94
 
 
80
  from transformers import AutoModelForImageSegmentation, AutoTokenizer
81
 
82
  # Load model and tokenizer
83
+ model = AutoModelForImageSegmentation.from_pretrained("path/to/your/LISAt-7b")
84
+ tokenizer = AutoTokenizer.from_pretrained("path/to/your/LISAt-7b")
85
 
86
  # Example usage for inference
87
  input_image = "path/to/your/image.png" # Replace with your input image
 
89
 
90
  # Generate segmentation or other tasks
91
  outputs = model.generate(**inputs)
92
+ ```
93
 
94
 
95