muhtasham commited on
Commit
445d79f
1 Parent(s): a817512

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,9 +5,9 @@ import torch
5
 
6
  BASE_MODEL = "muhtasham/TajBERTo"
7
  mask_filler = pipeline("fill-mask", model=BASE_MODEL)
8
- k = []
9
 
10
  def mask_fill(text):
 
11
  preds = mask_filler(text)
12
  for pred in preds:
13
  k.append(pred["sequence"])
5
 
6
  BASE_MODEL = "muhtasham/TajBERTo"
7
  mask_filler = pipeline("fill-mask", model=BASE_MODEL)
 
8
 
9
  def mask_fill(text):
10
+ k = []
11
  preds = mask_filler(text)
12
  for pred in preds:
13
  k.append(pred["sequence"])