Commit
•
8b691a8
1
Parent(s):
0352dce
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def predict(text):
|
|
78 |
|
79 |
|
80 |
gr.Interface(predict,
|
81 |
-
inputs=gr.
|
82 |
outputs='label',
|
83 |
interpretation='shap', num_shap=10.0, theme="huggingface",
|
84 |
examples=sample_text,description=description,article=article,
|
|
|
78 |
|
79 |
|
80 |
gr.Interface(predict,
|
81 |
+
inputs=gr.Textbox(label="Book title"),
|
82 |
outputs='label',
|
83 |
interpretation='shap', num_shap=10.0, theme="huggingface",
|
84 |
examples=sample_text,description=description,article=article,
|