mirari commited on
Commit
e1da738
1 Parent(s): 4990829

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import pandas as pd
2
  from fastai.text.all import *
3
  from datasets import load_dataset
4
 
5
- learn = learn.load_encoder('finetunedClass.pth')
6
 
7
  def predict(frase):
8
  pred = learn.predict(frase)
 
2
  from fastai.text.all import *
3
  from datasets import load_dataset
4
 
5
+ learn = load_encoder('finetunedClass.pth')
6
 
7
  def predict(frase):
8
  pred = learn.predict(frase)