yenniejun commited on
Commit
644276e
·
1 Parent(s): f2368bc

Trying gradio again

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def inference(inputtext, model):
25
 
26
  gr.Interface(
27
  inference,
28
- [gr.Textbox(label="Context",lines=10),gr.inputs.Dropdown(choices=["roberta-base","roberta-large"], type="value", default="roberta-base", label="model")],
29
  [gr.Label(label="Output")],
30
  examples=examples,
31
  article=article,
 
25
 
26
  gr.Interface(
27
  inference,
28
+ [gr.Textbox(label="Context",lines=10),gr.Dropdown(choices=["roberta-base","roberta-large"], type="value", label="model")],
29
  [gr.Label(label="Output")],
30
  examples=examples,
31
  article=article,