Karzan commited on
Commit
24cf073
·
verified ·
1 Parent(s): e67de93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -19,7 +19,6 @@ def classify_text(text):
19
  for result in results for item in result
20
  ]
21
  output = {}
22
- formatted_results = formatted_results[0]
23
  print(formatted_results)
24
  for i in range(len(formatted_results)):
25
  output[formatted_results[i]['label']] = formatted_results[i]['score']
 
19
  for result in results for item in result
20
  ]
21
  output = {}
 
22
  print(formatted_results)
23
  for i in range(len(formatted_results)):
24
  output[formatted_results[i]['label']] = formatted_results[i]['score']