ErickMVdO commited on
Commit
becf8a7
1 Parent(s): 4d64a01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -113,7 +113,9 @@ def win_position(matchType, assists, boosts, damageDealt, DBNOs, headshotKills,
113
 
114
  predictions = model.predict(df)
115
 
116
- return predictions[0]
 
 
117
 
118
  iface = gr.Interface(
119
  fn=win_position,
 
113
 
114
  predictions = model.predict(df)
115
 
116
+ result = 'você ficou em ' + (100 - (int(predictions[0]*100))) + '° lugar'
117
+
118
+ return result
119
 
120
  iface = gr.Interface(
121
  fn=win_position,