CEHB commited on
Commit
3887b31
1 Parent(s): 8583009

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ speaker_embeddings = {
19
 
20
 
21
  def predict(text, speaker):
22
- if len(text.strip()) == 0 or len(text.strip())>200:
23
  text="Du måste ha minst ett och max 200 tecken."
24
  ar=[int(s) for s in re.findall(r'\b\d+\b',text)]
25
  for arr in ar:
 
19
 
20
 
21
  def predict(text, speaker):
22
+ if len(text.strip()) == 0 or len(text.strip())>200:
23
  text="Du måste ha minst ett och max 200 tecken."
24
  ar=[int(s) for s in re.findall(r'\b\d+\b',text)]
25
  for arr in ar: