Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,13 +25,13 @@ def df(arr):
|
|
25 |
def fn(text):
|
26 |
for model in models:
|
27 |
yield pipeline("fill-mask", model=model)
|
28 |
-
|
29 |
|
30 |
with gr.Blocks() as demo:
|
31 |
with gr.Row():
|
32 |
with gr.Column():
|
33 |
output1 = gr.Label(label="UzRoBERTa-v1")
|
34 |
-
inp = gr.Textbox(label="Input", lines=10)
|
35 |
with gr.Column():
|
36 |
output2 = gr.Label(label="roberta-1.8-v2")
|
37 |
output3 = gr.Label(label="roberta-1.0")
|
|
|
25 |
def fn(text):
|
26 |
for model in models:
|
27 |
yield pipeline("fill-mask", model=model)
|
28 |
+
|
29 |
|
30 |
with gr.Blocks() as demo:
|
31 |
with gr.Row():
|
32 |
with gr.Column():
|
33 |
output1 = gr.Label(label="UzRoBERTa-v1")
|
34 |
+
inp = gr.Textbox(label="Input", lines=10, value=examples[0])
|
35 |
with gr.Column():
|
36 |
output2 = gr.Label(label="roberta-1.8-v2")
|
37 |
output3 = gr.Label(label="roberta-1.0")
|