Spaces:
Sleeping
Sleeping
research14
commited on
Commit
•
69a8941
1
Parent(s):
cd1760d
added en_core_web_sm
Browse files
app.py
CHANGED
@@ -5,6 +5,9 @@ import spacy
|
|
5 |
import time
|
6 |
import os
|
7 |
import openai
|
|
|
|
|
|
|
8 |
|
9 |
# Load the Vicuna 7B model and tokenizer
|
10 |
vicuna_tokenizer = AutoTokenizer.from_pretrained("lmsys/vicuna-7b-v1.3")
|
|
|
5 |
import time
|
6 |
import os
|
7 |
import openai
|
8 |
+
nlp = spacy.load("en_core_web_sm")
|
9 |
+
import en_core_web_sm
|
10 |
+
nlp = en_core_web_sm.load()
|
11 |
|
12 |
# Load the Vicuna 7B model and tokenizer
|
13 |
vicuna_tokenizer = AutoTokenizer.from_pretrained("lmsys/vicuna-7b-v1.3")
|