Spaces:
Runtime error
Runtime error
app.py update
Browse files
app.py
CHANGED
|
@@ -7,9 +7,6 @@ from transformers import pipeline, AutoTokenizer, AutoModelForSequenceClassifica
|
|
| 7 |
import torch
|
| 8 |
from huggingface_hub import hf_hub_download
|
| 9 |
from llama_cpp import Llama
|
| 10 |
-
import subprocess
|
| 11 |
-
subprocess.run(["pip", "install", "spacy==3.0.6", "--no-build-isolation"], check=True)
|
| 12 |
-
subprocess.run(["pip", "-m", "spacy", "download", "en_core_web_sm"], check=True)
|
| 13 |
import spacy
|
| 14 |
|
| 15 |
"""**Original code**
|
|
|
|
| 7 |
import torch
|
| 8 |
from huggingface_hub import hf_hub_download
|
| 9 |
from llama_cpp import Llama
|
|
|
|
|
|
|
|
|
|
| 10 |
import spacy
|
| 11 |
|
| 12 |
"""**Original code**
|