lorenzoscottb commited on
Commit
7603b72
·
1 Parent(s): 40950e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
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.Parallel(
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()