Spaces:
Runtime error
Runtime error
Commit
·
7603b72
1
Parent(s):
40950e0
Update app.py
Browse files
app.py
CHANGED
@@ -54,8 +54,6 @@ interface_words = gr.Interface(
|
|
54 |
|
55 |
interface_model = gr.Interface.load(
|
56 |
"huggingface/lorenzoscottb/bert-base-cased-PLANE-ood-2",
|
57 |
-
inputs='text',
|
58 |
-
outputs='label',
|
59 |
description=description,
|
60 |
examples=examples,
|
61 |
title=title,
|
@@ -63,7 +61,6 @@ interface_model = gr.Interface.load(
|
|
63 |
# interface_model.launch()
|
64 |
|
65 |
|
66 |
-
gr.
|
67 |
-
interface_words,
|
68 |
-
interface_model,
|
69 |
).launch()
|
|
|
54 |
|
55 |
interface_model = gr.Interface.load(
|
56 |
"huggingface/lorenzoscottb/bert-base-cased-PLANE-ood-2",
|
|
|
|
|
57 |
description=description,
|
58 |
examples=examples,
|
59 |
title=title,
|
|
|
61 |
# interface_model.launch()
|
62 |
|
63 |
|
64 |
+
gr.TabbedInterface(
|
65 |
+
[interface_model, interface_words], ["Test Model", "Check if words in/out-distribution"]
|
|
|
66 |
).launch()
|