Mjlehtim commited on
Commit
eaac5a4
1 Parent(s): 271993e
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -49,11 +49,8 @@ groq_api_key=os.getenv('GROQ_API_KEY')
49
 
50
  st.set_page_config(layout="wide")
51
 
52
- # Check and download the resource if it's not already available
53
- try:
54
- nltk.data.find('taggers/averaged_perceptron_tagger')
55
- except LookupError:
56
- nltk.download('averaged_perceptron_tagger')
57
 
58
  css = """
59
  <style>
 
49
 
50
  st.set_page_config(layout="wide")
51
 
52
+ nltk.data.find('taggers/averaged_perceptron_tagger')
53
+ nltk.download('averaged_perceptron_tagger')
 
 
 
54
 
55
  css = """
56
  <style>