ningrumdaud commited on
Commit
5b5cb38
·
verified ·
1 Parent(s): 0d47763

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -173,11 +173,9 @@ def visualize_cognitive_map(formatted_results):
173
  # Use the functions
174
  extractor = NounExtractor(nlp=nlp)
175
 
176
- extractor = NounExtractor(nlp=nlp)
177
-
178
  # Example of how to use this function
179
  words_list = ["so", "because", "contribute", "due to", "therefore", "as", "to"]
180
- causative_verb = ['affect', 'influence', 'increase', 'against', 'bring', 'lead', 'result', 'cause']
181
 
182
  # Define the callback function for the GUI
183
  def CogMapAnalysis(text):
 
173
  # Use the functions
174
  extractor = NounExtractor(nlp=nlp)
175
 
 
 
176
  # Example of how to use this function
177
  words_list = ["so", "because", "contribute", "due to", "therefore", "as", "to"]
178
+ causative_verb = ['affect', 'influence', 'increase', 'against', 'bring', 'lead', 'result', 'cause', 'to']
179
 
180
  # Define the callback function for the GUI
181
  def CogMapAnalysis(text):