maviced commited on
Commit
343f123
·
verified ·
1 Parent(s): 39fc371

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ import gradio as gr
21
  #model = learn.model
22
  #model = model.cpu()
23
 
24
- #classifier = pipeline('text-classification', model='maviced/clasificador-rotten-tomatoes')
25
 
26
  def predict(text):
27
  #pred,pred_idx,probs = model.predict(text)
 
21
  #model = learn.model
22
  #model = model.cpu()
23
 
24
+ classifier = pipeline('text-classification', model='maviced/clasificador-rotten-tomatoes')
25
 
26
  def predict(text):
27
  #pred,pred_idx,probs = model.predict(text)