Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,8 +23,9 @@ def df(arr):
|
|
23 |
return d
|
24 |
|
25 |
def fn(text):
|
26 |
-
|
27 |
-
|
|
|
28 |
with gr.Blocks() as demo:
|
29 |
with gr.Row():
|
30 |
with gr.Column():
|
|
|
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():
|