Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
|
|
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():
|