HinaCortus commited on
Commit
3d86fd5
1 Parent(s): b44ecea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -39,8 +39,9 @@ def TopicClassification(payload: TextIn):
39
 
40
  nlp = TextClassificationPipeline(model=loaded_model, tokenizer=loaded_tokenizer)
41
 
42
- print(payload.text)
43
- text = re.sub(r'[!@#$(),\n"%^*?\:;~`0-9]', " ", payload.text)
 
44
  text = re.sub(r"[[]]", " ", text)
45
  text = text.lower()
46
 
 
39
 
40
  nlp = TextClassificationPipeline(model=loaded_model, tokenizer=loaded_tokenizer)
41
 
42
+ # print(payload.text)
43
+ # text = re.sub(r'[!@#$(),\n"%^*?\:;~`0-9]', " ", payload.text)
44
+ text = "Le Bayern Munich prend la grenadine."
45
  text = re.sub(r"[[]]", " ", text)
46
  text = text.lower()
47