dar-tau commited on
Commit
96ea6a5
1 Parent(s): 60b5a72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def analyze_sentence(index, vis_type, vis_format):
46
  ex = [{
47
  "words": [{"text": x} for x in tokenized],
48
  "arcs": [{"start": i, "end": j} for j in range(i) else range(len(tokenized))]
49
- ]
50
  graph_output = displacy.render(ex, style="dep", manual=True)
51
  fig_output = None
52
  metrics = {'Metrics': 1}
 
46
  ex = [{
47
  "words": [{"text": x} for x in tokenized],
48
  "arcs": [{"start": i, "end": j} for j in range(i) else range(len(tokenized))]
49
+ }]
50
  graph_output = displacy.render(ex, style="dep", manual=True)
51
  fig_output = None
52
  metrics = {'Metrics': 1}