Commit
·
e8bec60
1
Parent(s):
39a7367
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ def predict(text):
|
|
| 79 |
gr.Interface(predict,
|
| 80 |
inputs=gr.inputs.Textbox(label="Book title"),
|
| 81 |
outputs=gr.outputs.Label(label="Predicted genre"),
|
| 82 |
-
interpretation='shap', num_shap=10,
|
| 83 |
examples=sample_text,description=description,article=article,
|
| 84 |
).launch(enable_queue=True)
|
| 85 |
|
|
|
|
| 79 |
gr.Interface(predict,
|
| 80 |
inputs=gr.inputs.Textbox(label="Book title"),
|
| 81 |
outputs=gr.outputs.Label(label="Predicted genre"),
|
| 82 |
+
interpretation='shap', num_shap=10, theme="peach",
|
| 83 |
examples=sample_text,description=description,article=article,
|
| 84 |
).launch(enable_queue=True)
|
| 85 |
|