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