davanstrien HF staff commited on
Commit
9f21305
1 Parent(s): 5cb3264

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ def predict(text):
78
  gr.Interface(predict,
79
  inputs=gr.inputs.Textbox(label="Book title"),
80
  outputs=gr.outputs.Label(label="Predicted genre"),
81
- interpretation='shap', num_shap=10, theme="huggingface",
82
  examples=sample_text,description=description,article=article,
83
  ).launch(enable_queue=True, cache_examples=True)
84
 
 
78
  gr.Interface(predict,
79
  inputs=gr.inputs.Textbox(label="Book title"),
80
  outputs=gr.outputs.Label(label="Predicted genre"),
81
+ interpretation='shap', num_shap=5, theme="huggingface",
82
  examples=sample_text,description=description,article=article,
83
  ).launch(enable_queue=True, cache_examples=True)
84