Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 f"Label: {label}"
|
12 |
|
13 |
gr.Interface(fn=classify_text,
|
14 |
inputs="text",
|