Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ model.to(device)
|
|
19 |
|
20 |
# Load spaCy model for dependency parsing
|
21 |
os.system('python -m spacy download en_core_web_sm')
|
22 |
-
nlp = spacy.load("
|
23 |
|
24 |
# Function for generating text and tokenizing
|
25 |
def historical_generation(prompt, max_new_tokens=600):
|
|
|
19 |
|
20 |
# Load spaCy model for dependency parsing
|
21 |
os.system('python -m spacy download en_core_web_sm')
|
22 |
+
nlp = spacy.load("la_core_web_lg")
|
23 |
|
24 |
# Function for generating text and tokenizing
|
25 |
def historical_generation(prompt, max_new_tokens=600):
|