hwajjala commited on
Commit
edd1aeb
β€’
1 Parent(s): 7a2bd30

Add descriprion to the model

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -80,6 +80,16 @@ iface = gr.Interface(
80
  fn=predict_fn,
81
  inputs="image",
82
  outputs="text",
 
 
 
 
 
 
 
 
 
 
83
  allow_flagging="manual",
84
  flagging_options=[
85
  "probability error > 0.5",
 
80
  fn=predict_fn,
81
  inputs="image",
82
  outputs="text",
83
+ description="""
84
+ The model returns the probability of the image being a base body. If
85
+ probability > 0.95, the image can be automatically tagged as a base body. If
86
+ probability < 0.4, the image can be automatically REJECTED as NOT as base
87
+ body. All other cases will be submitted for moderation.
88
+
89
+ To minimize noise, please flag the input only if you think there is an error
90
+ in the probability returned by the model and it is off by at least 0.2
91
+ """,
92
+
93
  allow_flagging="manual",
94
  flagging_options=[
95
  "probability error > 0.5",