SnJForever commited on
Commit
6178ee5
1 Parent(s): 3150cd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -72,7 +72,11 @@ def get_followers_counts(user_ids):
72
  followers_counts.append(followers_count)
73
  except Exception as e:
74
  print(e)
75
- followers_counts.append(str(e))
 
 
 
 
76
  return followers_counts
77
 
78
  def predict(user_ids_json):
 
72
  followers_counts.append(followers_count)
73
  except Exception as e:
74
  print(e)
75
+ result={}
76
+ result['id'] = user_id
77
+ result['reason'] = str(e)
78
+ followers_counts.append(result)
79
+
80
  return followers_counts
81
 
82
  def predict(user_ids_json):