Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ nltk.download('punkt')
|
|
| 8 |
from nltk.tokenize import sent_tokenize
|
| 9 |
|
| 10 |
# Define the directory to extract the model
|
| 11 |
-
model_path = './bart_model'
|
| 12 |
|
| 13 |
# Verify that the directory exists and contains the necessary files
|
| 14 |
if not os.path.exists(model_path):
|
|
|
|
| 8 |
from nltk.tokenize import sent_tokenize
|
| 9 |
|
| 10 |
# Define the directory to extract the model
|
| 11 |
+
model_path = './bart_model/bart_model'
|
| 12 |
|
| 13 |
# Verify that the directory exists and contains the necessary files
|
| 14 |
if not os.path.exists(model_path):
|