AbrorBalxiyev commited on
Commit
8dd7bbb
1 Parent(s): 3538145
Files changed (1) hide show
  1. app.py +1 -1
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(decoded_data)
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(