Abdulvajid commited on
Commit
7109db8
·
verified ·
1 Parent(s): 88e7b85

add title

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -63,12 +63,14 @@ def action_recognition(image):
63
  # Return the predicted class index and prediction array
64
  return preds[np.argmax(pred)]
65
 
 
66
 
67
  demo = gr.Interface(
68
  fn=action_recognition,
69
  inputs=[gr.Image(label="Image")],
70
  outputs=['text'],
71
- allow_flagging='never'
 
72
  )
73
 
74
 
 
63
  # Return the predicted class index and prediction array
64
  return preds[np.argmax(pred)]
65
 
66
+ title = "🤖 Human Action Recognition Model"
67
 
68
  demo = gr.Interface(
69
  fn=action_recognition,
70
  inputs=[gr.Image(label="Image")],
71
  outputs=['text'],
72
+ allow_flagging='never',
73
+ title=title
74
  )
75
 
76