AbrorBalxiyev
commited on
Commit
•
8dd7bbb
1
Parent(s):
3538145
fixed
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ def classify_text(text):
|
|
70 |
return "Please enter some text to classify."
|
71 |
|
72 |
pred = pipe(text)
|
73 |
-
return get_html_for_results(
|
74 |
|
75 |
# Gradio interfeysi
|
76 |
iface = gr.Interface(
|
|
|
70 |
return "Please enter some text to classify."
|
71 |
|
72 |
pred = pipe(text)
|
73 |
+
return get_html_for_results(pred[0])
|
74 |
|
75 |
# Gradio interfeysi
|
76 |
iface = gr.Interface(
|