sayakpaul HF staff commited on
Commit
a66a0af
1 Parent(s): d3361e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ _MODEL = get_model()
28
 
29
  def plot(attentions: np.ndarray):
30
  """Plots the attention maps from individual attention heads."""
31
- fig, axes = plt.subplots(nrows=1, ncols=4) # figsize=(13, 13)
32
  img_count = 0
33
 
34
  for i in range(attentions.shape[-1]):
 
28
 
29
  def plot(attentions: np.ndarray):
30
  """Plots the attention maps from individual attention heads."""
31
+ fig, axes = plt.subplots(nrows=1, ncols=4, figsize=(13, 13))
32
  img_count = 0
33
 
34
  for i in range(attentions.shape[-1]):