asahi417 commited on
Commit
0cf1f01
1 Parent(s): 8728555
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +2 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def predict(text):
50
  return html
51
 
52
 
53
- iface = gr.Interface(
54
  fn=predict,
55
  inputs=gr.inputs.Textbox(
56
  lines=5,
@@ -60,4 +60,4 @@ iface = gr.Interface(
60
  ),
61
  outputs="html",
62
  )
63
- iface.launch()
50
  return html
51
 
52
 
53
+ demo = gr.Interface(
54
  fn=predict,
55
  inputs=gr.inputs.Textbox(
56
  lines=5,
60
  ),
61
  outputs="html",
62
  )
63
+ demo.launch()
requirements.txt CHANGED
@@ -1,2 +1,3 @@
1
  spacy
2
- tner
 
1
  spacy
2
+ tner
3
+ allennlp==2.10.0