Spaces:
Sleeping
Sleeping
Commit
·
5f2c179
1
Parent(s):
2a5c385
init
Browse files
app.py
CHANGED
@@ -61,9 +61,9 @@ def inference(inputtext, model):
|
|
61 |
outlabel = io2(inputtext)
|
62 |
return outlabel
|
63 |
|
64 |
-
inputs = gr.
|
65 |
-
model_choice = gr.
|
66 |
-
outputs = gr.
|
67 |
|
68 |
gr.Interface(
|
69 |
fn=inference,
|
|
|
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 |
|
68 |
gr.Interface(
|
69 |
fn=inference,
|