Spaces:
Runtime error
Runtime error
Commit
·
48b2cb9
1
Parent(s):
2e53387
updated requirements and spacy model
Browse files- app.py +0 -2
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -5,9 +5,7 @@ import spacy
|
|
| 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")
|
|
|
|
| 5 |
import time
|
| 6 |
import os
|
| 7 |
import openai
|
|
|
|
| 8 |
import en_core_web_sm
|
|
|
|
| 9 |
|
| 10 |
# Load the Vicuna 7B model and tokenizer
|
| 11 |
vicuna_tokenizer = AutoTokenizer.from_pretrained("lmsys/vicuna-7b-v1.3")
|
requirements.txt
CHANGED
|
@@ -8,3 +8,4 @@ gpt2
|
|
| 8 |
nltk
|
| 9 |
lftk
|
| 10 |
spacy
|
|
|
|
|
|
| 8 |
nltk
|
| 9 |
lftk
|
| 10 |
spacy
|
| 11 |
+
en_core_web_sm
|