sgurriah commited on
Commit
87b9e49
β€’
1 Parent(s): f24dab2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def classify_text(text):
8
  output = classifier(text)
9
  label = output[0]["label"]
10
  score = output[0]["score"]
11
- return f"Label: {label}"
12
 
13
  gr.Interface(fn=classify_text,
14
  inputs="text",
 
8
  output = classifier(text)
9
  label = output[0]["label"]
10
  score = output[0]["score"]
11
+ return label
12
 
13
  gr.Interface(fn=classify_text,
14
  inputs="text",