Update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ def generate_charts(ner_output_ext: dict) -> Tuple[go.Figure, np.ndarray]:
|
|
| 113 |
|
| 114 |
def generate_wordcloud(entities: List[Dict], color_map: Dict[str, str], image_path: str) -> np.ndarray:
|
| 115 |
|
| 116 |
-
image_path = os.path.join(os.path.dirname(__file__),
|
| 117 |
|
| 118 |
token_texts = []
|
| 119 |
token_scores = []
|
|
|
|
| 113 |
|
| 114 |
def generate_wordcloud(entities: List[Dict], color_map: Dict[str, str], image_path: str) -> np.ndarray:
|
| 115 |
|
| 116 |
+
image_path = os.path.join(os.path.dirname(__file__), image_path)
|
| 117 |
|
| 118 |
token_texts = []
|
| 119 |
token_scores = []
|