Spaces:
Runtime error
Runtime error
kevin-yang
commited on
Commit
•
b432441
1
Parent(s):
0c95571
add message
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ if __name__ == '__main__':
|
|
109 |
app = gr.Interface(
|
110 |
fn=predict,
|
111 |
inputs=[gr.inputs.Dropdown(model_name_list, label="Model Name"), 'text'], outputs=['label', 'plot'],
|
112 |
-
examples = [[MODEL_BUF["name"], text]],
|
113 |
title="한국어 혐오성 발화 분류기 (Korean Hate Speech Classifier)",
|
114 |
description="Korean Hate Speech Classifier with Several Pretrained LM\nCurrent Supported Model:\n1. SoongsilBERT\n2. KcBERT(+KLUE)\n3. KcELECTRA\n4.KoELECTRA."
|
115 |
)
|
|
|
109 |
app = gr.Interface(
|
110 |
fn=predict,
|
111 |
inputs=[gr.inputs.Dropdown(model_name_list, label="Model Name"), 'text'], outputs=['label', 'plot'],
|
112 |
+
examples = [[MODEL_BUF["name"], text][MODEL_BUF["name"], "4=🦀 4≠🦀"]],
|
113 |
title="한국어 혐오성 발화 분류기 (Korean Hate Speech Classifier)",
|
114 |
description="Korean Hate Speech Classifier with Several Pretrained LM\nCurrent Supported Model:\n1. SoongsilBERT\n2. KcBERT(+KLUE)\n3. KcELECTRA\n4.KoELECTRA."
|
115 |
)
|