Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ user_friendly_name_list = list(user_friendly_name.values())
|
|
43 |
#demo = gr.Interface.from_pipeline(pipe)
|
44 |
#demo.launch()
|
45 |
|
46 |
-
predict =
|
47 |
|
48 |
inputs = [
|
49 |
gr.Textbox(label="Text", value=app_examples[0][0]),
|
|
|
43 |
#demo = gr.Interface.from_pipeline(pipe)
|
44 |
#demo.launch()
|
45 |
|
46 |
+
predict = ["1", "Hate Speech"]
|
47 |
|
48 |
inputs = [
|
49 |
gr.Textbox(label="Text", value=app_examples[0][0]),
|