Spaces:
Runtime error
Runtime error
prithivida
commited on
Commit
•
403b4ed
1
Parent(s):
9886ca4
Update InferenceServer.py
Browse files- InferenceServer.py +1 -1
InferenceServer.py
CHANGED
@@ -15,7 +15,7 @@ print("Loading models...")
|
|
15 |
app = FastAPI()
|
16 |
|
17 |
device = "cpu"
|
18 |
-
correction_model_tag = "prithivida/
|
19 |
correction_tokenizer = AutoTokenizer.from_pretrained(correction_model_tag)
|
20 |
correction_model = AutoModelForSeq2SeqLM.from_pretrained(correction_model_tag)
|
21 |
|
|
|
15 |
app = FastAPI()
|
16 |
|
17 |
device = "cpu"
|
18 |
+
correction_model_tag = "prithivida/grammar_error_correcter_v1"
|
19 |
correction_tokenizer = AutoTokenizer.from_pretrained(correction_model_tag)
|
20 |
correction_model = AutoModelForSeq2SeqLM.from_pretrained(correction_model_tag)
|
21 |
|