Mansurbek commited on
Commit
eb50ec5
·
1 Parent(s): 2b84e99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -23,9 +23,10 @@ def df(arr):
23
  return d
24
 
25
  def fn(text):
26
- arr = []
27
  for model in models:
28
- yield df(pipeline("fill-mask", model=model)(text))
 
29
  with gr.Blocks() as demo:
30
  with gr.Row():
31
  with gr.Column():
 
23
  return d
24
 
25
  def fn(text):
26
+ arr = ()
27
  for model in models:
28
+ arr = arr + df(pipeline("fill-mask", model=model)(text))
29
+ return arr
30
  with gr.Blocks() as demo:
31
  with gr.Row():
32
  with gr.Column():