thak123 commited on
Commit
7f99bd8
·
verified ·
1 Parent(s): 017a93f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -21,7 +21,8 @@ import nltk
21
  import gradio as gr
22
 
23
  # Download the necessary NLTK data files
24
- nltk.download('punkt')
 
25
 
26
  # Load the Slovenian tokenizer
27
  slovenian_tokenizer = nltk.data.load('tokenizers/punkt/slovenian.pickle')
 
21
  import gradio as gr
22
 
23
  # Download the necessary NLTK data files
24
+
25
+ nltk.download('punkt_tab')
26
 
27
  # Load the Slovenian tokenizer
28
  slovenian_tokenizer = nltk.data.load('tokenizers/punkt/slovenian.pickle')