Commit
·
e421370
1
Parent(s):
021575f
Update app.py
Browse files
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=
|
| 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 |
|