Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,9 @@ def win_position(matchType, assists, boosts, damageDealt, DBNOs, headshotKills,
|
|
113 |
|
114 |
predictions = model.predict(df)
|
115 |
|
116 |
-
|
|
|
|
|
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,
|