gilramos commited on
Commit
72ea02e
1 Parent(s): 2d548f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -25,6 +25,7 @@ def predict(text, chosen_model):
25
  model_pipeline = pipeline("text-classification", model=chosen_model)
26
  result = model_pipeline(text)
27
  label = result[0]['label']
 
28
  return label
29
 
30
  inputs = [
 
25
  model_pipeline = pipeline("text-classification", model=chosen_model)
26
  result = model_pipeline(text)
27
  label = result[0]['label']
28
+
29
  return label
30
 
31
  inputs = [