LukeJacob2023
commited on
Commit
•
909fc52
1
Parent(s):
a700117
Upload app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def predict(text):
|
|
26 |
iface = gr.Interface(
|
27 |
fn=predict,
|
28 |
inputs=gr.Textbox(lines=2, label="Input Text"),
|
29 |
-
outputs=gr.Label(num_top_classes=3, label="Predictions"
|
30 |
title="Religion Classification",
|
31 |
description="请输入内容(繁体中文)"
|
32 |
)
|
|
|
26 |
iface = gr.Interface(
|
27 |
fn=predict,
|
28 |
inputs=gr.Textbox(lines=2, label="Input Text"),
|
29 |
+
outputs=gr.Label(num_top_classes=3, label="Predictions"),
|
30 |
title="Religion Classification",
|
31 |
description="请输入内容(繁体中文)"
|
32 |
)
|