Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,10 @@ def eval_prob(target_word, text):
|
|
35 |
|
36 |
gr.Interface(
|
37 |
fn=eval_prob,
|
38 |
-
inputs=
|
|
|
|
|
|
|
39 |
outputs="text",
|
40 |
title="Chinese Sentence Grading",
|
41 |
).launch()
|
|
|
35 |
|
36 |
gr.Interface(
|
37 |
fn=eval_prob,
|
38 |
+
inputs=[
|
39 |
+
gr.Textbox(placeholder="懒惰"),
|
40 |
+
gr.Textbox(placeholder=f"雨天,我整个人就便{mask_token}了,不想出外,甚至不想去上课。"),
|
41 |
+
]"text",
|
42 |
outputs="text",
|
43 |
title="Chinese Sentence Grading",
|
44 |
).launch()
|