nehalelkaref
commited on
Commit
•
f9eff7d
1
Parent(s):
37a0133
Update app.py
Browse files
app.py
CHANGED
@@ -48,6 +48,6 @@ if __name__ == '__main__':
|
|
48 |
span_model = SpanNet.load_model(span_path)
|
49 |
msa_span_model = SpanNet.load_model(msa_span_path)
|
50 |
entity_model = EntNet.load_model(entity_path)
|
51 |
-
iface= gr.Base(primary_hue="green")
|
52 |
iface = gr.Interface(fn=predict_label, inputs="text", outputs="text")
|
53 |
iface.launch(show_api=False)
|
|
|
48 |
span_model = SpanNet.load_model(span_path)
|
49 |
msa_span_model = SpanNet.load_model(msa_span_path)
|
50 |
entity_model = EntNet.load_model(entity_path)
|
51 |
+
# iface= gr.Base(primary_hue="green")
|
52 |
iface = gr.Interface(fn=predict_label, inputs="text", outputs="text")
|
53 |
iface.launch(show_api=False)
|