Spaces:
Sleeping
Sleeping
all add
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ if __name__ == '__main__':
|
|
66 |
#Create a gradio app with a button that calls predict()
|
67 |
app = gr.Interface(
|
68 |
fn=predict,
|
69 |
-
inputs=[gr.inputs.Dropdown(model_name_list, label="Model Name"), 'text'], outputs=['label'
|
70 |
examples = [[MODEL_BUF["name"], text], [MODEL_BUF["name"], "4=๐ฆ 4โ ๐ฆ"]],
|
71 |
title="ํ๊ตญ์ด ํ์คํํ, ๊ฐ์ธ์ ๋ณด ํ๋ณ๊ธฐ (Korean Hate Speech and Privacy Detection)",
|
72 |
description="Korean Hate Speech and Privacy Detection."
|
|
|
66 |
#Create a gradio app with a button that calls predict()
|
67 |
app = gr.Interface(
|
68 |
fn=predict,
|
69 |
+
inputs=[gr.inputs.Dropdown(model_name_list, label="Model Name"), 'text'], outputs=['label'],
|
70 |
examples = [[MODEL_BUF["name"], text], [MODEL_BUF["name"], "4=๐ฆ 4โ ๐ฆ"]],
|
71 |
title="ํ๊ตญ์ด ํ์คํํ, ๊ฐ์ธ์ ๋ณด ํ๋ณ๊ธฐ (Korean Hate Speech and Privacy Detection)",
|
72 |
description="Korean Hate Speech and Privacy Detection."
|