Spaces:
Runtime error
Runtime error
Trying gradio again
Browse files
app.py
CHANGED
@@ -25,8 +25,8 @@ def inference(inputtext, model):
|
|
25 |
|
26 |
gr.Interface(
|
27 |
inference,
|
28 |
-
[gr.
|
29 |
-
[gr.
|
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,
|