Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
global clean_up function
Browse files
resources/app/plugins/deepmoji_plugin/sentiment.py
CHANGED
@@ -122,7 +122,7 @@ def pre_load_model(data=None):
|
|
122 |
pass
|
123 |
|
124 |
def fetch_text(data=None):
|
125 |
-
global plugin_settings, emoji_count, text_scores, scoreText, isXVAPitch, isEnglish, prev_sentence
|
126 |
isBatch = False
|
127 |
|
128 |
text_scores = [data["sequence"]]
|
|
|
122 |
pass
|
123 |
|
124 |
def fetch_text(data=None):
|
125 |
+
global plugin_settings, emoji_count, text_scores, scoreText, isXVAPitch, isEnglish, prev_sentence, clean_special_chars
|
126 |
isBatch = False
|
127 |
|
128 |
text_scores = [data["sequence"]]
|