Spaces:
Sleeping
Sleeping
add requirements.txt
Browse files- requirements.txt +4 -0
- utils.py +1 -0
requirements.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
streamlit==1.28.2
|
| 2 |
+
torch==2.1.1
|
| 3 |
+
nltk==3.8.1
|
| 4 |
+
numpy==1.24.1
|
utils.py
CHANGED
|
@@ -11,6 +11,7 @@ import re
|
|
| 11 |
|
| 12 |
import nltk
|
| 13 |
from nltk.stem import PorterStemmer
|
|
|
|
| 14 |
|
| 15 |
with open('./Model/intents.json', 'r', encoding='UTF-8') as fp:
|
| 16 |
intents = json.load(fp)
|
|
|
|
| 11 |
|
| 12 |
import nltk
|
| 13 |
from nltk.stem import PorterStemmer
|
| 14 |
+
nltk.download('punkt')
|
| 15 |
|
| 16 |
with open('./Model/intents.json', 'r', encoding='UTF-8') as fp:
|
| 17 |
intents = json.load(fp)
|