davanstrien HF staff commited on
Commit
e421370
1 Parent(s): 021575f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def predict(text):
44
  gr.Interface(predict,
45
  inputs=gr.inputs.Textbox(label="Book title"),
46
  outputs=gr.outputs.Label(label="Predicted genre"),
47
- interpretation='shap', num_shap=5,
48
  examples=sample_text,description=description,
49
  ).launch(enable_queue=True)
50
 
 
44
  gr.Interface(predict,
45
  inputs=gr.inputs.Textbox(label="Book title"),
46
  outputs=gr.outputs.Label(label="Predicted genre"),
47
+ interpretation='shap', num_shap=10,
48
  examples=sample_text,description=description,
49
  ).launch(enable_queue=True)
50