Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from simplet5 import SimpleT5
|
|
3 |
|
4 |
model = SimpleT5()
|
5 |
# let's load the trained model for inferencing:
|
6 |
-
model.load_model("byt5","hantech/
|
7 |
|
8 |
def predict(text):
|
9 |
result = model.predict('correct: '+text)
|
|
|
3 |
|
4 |
model = SimpleT5()
|
5 |
# let's load the trained model for inferencing:
|
6 |
+
model.load_model("byt5","hantech/byt5_correct5", use_gpu=False)
|
7 |
|
8 |
def predict(text):
|
9 |
result = model.predict('correct: '+text)
|