Mansurbek commited on
Commit
2a60f75
1 Parent(s): 9adf938

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- return df(uzroberta_v1(text)), df(roberta_1_8_v2(text)), df(roberta_1_0(text))
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")