Commit
•
9f21305
1
Parent(s):
5cb3264
Update app.py
Browse files
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=
|
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 |
|