Campfireman commited on
Commit
a962382
1 Parent(s): cfa9fef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,8 +29,8 @@ def tb_titanic(pclass,sex,age,sibsp,parch,embarked,fare_per_customer,cabin):
29
  res = model.predict(np.asarray(input_list).reshape(1, -1))
30
  return "This guy will"
31
 
32
- demo = gr.Interface(
33
- f=tb_titanic,
34
  title="Titanic Predictive Analytics",
35
  description="Predict survivals. 0 for dead and 1 for survived. ",
36
  inputs=[
 
29
  res = model.predict(np.asarray(input_list).reshape(1, -1))
30
  return "This guy will"
31
 
32
+ demo = gr.Interface(ur Space uses GPU and has an out of memory error since this will fully stop the existing Space before starting it again.
33
+ fn=tb_titanic,
34
  title="Titanic Predictive Analytics",
35
  description="Predict survivals. 0 for dead and 1 for survived. ",
36
  inputs=[