Mansurbek commited on
Commit
f45b133
·
1 Parent(s): 367a64c

Update app.py

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