Parthebhan commited on
Commit
7c10767
·
verified ·
1 Parent(s): 829b850

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
  from PIL import Image
5
 
6
  # Load the model
7
- model = AutoModelForImageSegmentation.from_pretrained("/absolute/path/to/gelan-c-seg.pt")")
8
 
9
  # Load the tokenizer (if needed)
10
  tokenizer = AutoTokenizer.from_pretrained("path/to/tokenizer")
 
4
  from PIL import Image
5
 
6
  # Load the model
7
+ model = AutoModelForImageSegmentation.from_pretrained("/absolute/path/to/gelan-c-seg.pt")
8
 
9
  # Load the tokenizer (if needed)
10
  tokenizer = AutoTokenizer.from_pretrained("path/to/tokenizer")