yenniejun commited on
Commit
f2368bc
·
1 Parent(s): 7b34f91

Trying gradio again

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