Transformers
PyTorch
English
bridgetower
Inference Endpoints

Update README.md

#2
by Tile - opened
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -63,7 +63,7 @@ url = "http://images.cocodataset.org/val2017/000000360943.jpg"
63
  image = Image.open(requests.get(url, stream=True).raw).convert("RGB")
64
  text = "a <mask> looking out of the window"
65
 
66
- processor = BridgeTowerProcessor.from_pretrained(("BridgeTower/bridgetower-base-itm-mlm"))
67
  model = BridgeTowerForMaskedLM.from_pretrained("BridgeTower/bridgetower-base-itm-mlm")
68
 
69
  # prepare inputs
 
63
  image = Image.open(requests.get(url, stream=True).raw).convert("RGB")
64
  text = "a <mask> looking out of the window"
65
 
66
+ processor = BridgeTowerProcessor.from_pretrained("BridgeTower/bridgetower-base-itm-mlm")
67
  model = BridgeTowerForMaskedLM.from_pretrained("BridgeTower/bridgetower-base-itm-mlm")
68
 
69
  # prepare inputs