luanzitto commited on
Commit
b383bea
1 Parent(s): 72ddf12

conhecimento de ferramenta e testes

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def predict( Fare, Age, Sex, Pclass, SibSp ):
27
  resp = {'Sobreviveria' : True, 'Chance de sobrevivência' : y_hat[1]}
28
 
29
 
30
- return {'Não sobreviveria' : y_hat[0], 'Sobreviveria' : y_hat[1]}
31
 
32
  demo = gr.Interface(
33
  fn = predict,
 
27
  resp = {'Sobreviveria' : True, 'Chance de sobrevivência' : y_hat[1]}
28
 
29
 
30
+ return resp
31
 
32
  demo = gr.Interface(
33
  fn = predict,