reichenbach commited on
Commit
0464579
·
1 Parent(s): a92c949

App Changes

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  import json
2
  import numpy as np
3
  import gradio as gr
@@ -59,6 +62,8 @@ ner_tag = gr.outputs.Textbox()
59
 
60
  iface = gr.Interface(ner_tagging,
61
  inputs=text_1,outputs=ner_tag, examples=[['EU rejects German call to boycott British lamb .'],
62
- ["Wednesday's U.S. Open draw ceremony revealed that both title holders should run into their first serious opposition in the third round."]])
 
 
63
 
64
  iface.launch()
 
1
+ import os
2
+ os.system('pip install tensorflow')
3
+
4
  import json
5
  import numpy as np
6
  import gradio as gr
 
62
 
63
  iface = gr.Interface(ner_tagging,
64
  inputs=text_1,outputs=ner_tag, examples=[['EU rejects German call to boycott British lamb .'],
65
+ ["Wednesday's U.S. Open draw ceremony revealed that both title holders should run into their first serious opposition in the third round."]], title="Named Entity Recognition with Transformers",
66
+ description = "Named Entity Recognition with Transformers on CoNLL2003 Dataset",
67
+ article = "Author: <a href=\"https://huggingface.co/reichenbach\">Rishav Chandra Varma</a>")
68
 
69
  iface.launch()