Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
•
7f8704f
1
Parent(s):
f69b674
Update predict_model.py
Browse files
src/models/predict_model.py
CHANGED
@@ -9,6 +9,7 @@ def predict_model(text):
|
|
9 |
Predict the summary of the given text.
|
10 |
"""
|
11 |
with open("params.yml") as f:
|
|
|
12 |
model = Summarization()
|
13 |
model.load_model()
|
14 |
pre_summary = model.predict(text)
|
|
|
9 |
Predict the summary of the given text.
|
10 |
"""
|
11 |
with open("params.yml") as f:
|
12 |
+
|
13 |
model = Summarization()
|
14 |
model.load_model()
|
15 |
pre_summary = model.predict(text)
|