Julien Matuszak commited on
Commit
4d80088
·
verified ·
1 Parent(s): 674ee5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import requests
6
  from gradio_client import Client
7
 
8
  # Initialize models
9
- nlp = spacy.load("en_core_web_trf") # More accurate NER
10
  spell_checker = pipeline("text2text-generation", model="oliverguhr/spelling-correction-english-base")
11
 
12
  def preprocess_and_forward(text: str) -> str:
 
6
  from gradio_client import Client
7
 
8
  # Initialize models
9
+ nlp = spacy.load("en_core_web_sw") # More accurate NER
10
  spell_checker = pipeline("text2text-generation", model="oliverguhr/spelling-correction-english-base")
11
 
12
  def preprocess_and_forward(text: str) -> str: