SegevC commited on
Commit
231fa06
·
1 Parent(s): 5e3eaea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -36,7 +36,9 @@ def new_splitter(df):
36
 
37
  return test, valid
38
 
39
-
 
 
40
 
41
  learner = load_learner("bf_model.pkl")
42
 
@@ -46,7 +48,7 @@ def predict_bf(img):
46
 
47
  image = gr.Image(shape=(192,192))
48
  # label = gr.float()
49
- intf = gr.Interface(fn =predict_bf, inputs = image, outputs = "number" )
50
  intf.launch(inline= False)
51
 
52
  # def greet(name):
 
36
 
37
  return test, valid
38
 
39
+ title = "Body Fat Predictor"
40
+ description = "A Body Fat Predictor trained on the subreddit \"guessmybf\"."
41
+ article = "for best preformence upload a front facing photo"
42
 
43
  learner = load_learner("bf_model.pkl")
44
 
 
48
 
49
  image = gr.Image(shape=(192,192))
50
  # label = gr.float()
51
+ intf = gr.Interface(fn =predict_bf, inputs = image, outputs = "number", title=title, description=description, article=article)
52
  intf.launch(inline= False)
53
 
54
  # def greet(name):