Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,8 +24,8 @@ def df(arr):
|
|
24 |
|
25 |
def fn(text):
|
26 |
res = []
|
27 |
-
for
|
28 |
-
res.append(df(pipeline("fill-mask", model=
|
29 |
return res[0], res[1], res[2]
|
30 |
|
31 |
with gr.Blocks() as demo:
|
|
|
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:
|