ShaohanTian commited on
Commit
5943125
·
1 Parent(s): 5f2c179
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def inference(inputtext, model):
61
  outlabel = io2(inputtext)
62
  return outlabel
63
 
64
- inputs = gr.InterfaceText(label="Context", lines=10)
65
  model_choice = gr.Dropdown(choices=["bert-base-cased", "bert-base-uncased"], label="Model", default="bert-base-cased")
66
  outputs = gr.Textbox(label="Output")
67
 
 
61
  outlabel = io2(inputtext)
62
  return outlabel
63
 
64
+ inputs = gr.Textbox(label="Context", lines=10)
65
  model_choice = gr.Dropdown(choices=["bert-base-cased", "bert-base-uncased"], label="Model", default="bert-base-cased")
66
  outputs = gr.Textbox(label="Output")
67