CK42 commited on
Commit
0da04c1
·
1 Parent(s): 35fc62d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def get_prediction(model_id):
52
  # stars = (int)(stars.split('_')[1])+1
53
  # score = 100*prediction[0]['score']
54
  # return "{} {:.0f}%".format("\U00002B50"*stars, score)
55
- return prediction
56
  return predict
57
 
58
  with app:
 
52
  # stars = (int)(stars.split('_')[1])+1
53
  # score = 100*prediction[0]['score']
54
  # return "{} {:.0f}%".format("\U00002B50"*stars, score)
55
+ return [x for x in prediction]
56
  return predict
57
 
58
  with app: