Spaces:
Runtime error
Runtime error
salsabilapl
commited on
Commit
•
2a935dd
1
Parent(s):
4044256
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ from gensim import corpora, models
|
|
5 |
from PIL import Image
|
6 |
|
7 |
# Load the saved models and data
|
8 |
-
dictionary = joblib.load('
|
9 |
-
lda_model = joblib.load('
|
10 |
|
11 |
# Function to preprocess input text and get topic distribution
|
12 |
def get_topics(text):
|
|
|
5 |
from PIL import Image
|
6 |
|
7 |
# Load the saved models and data
|
8 |
+
dictionary = joblib.load('doc2bowa.sav')
|
9 |
+
lda_model = joblib.load('ldamodela.sav')
|
10 |
|
11 |
# Function to preprocess input text and get topic distribution
|
12 |
def get_topics(text):
|