annalyzin commited on
Commit
7604512
1 Parent(s): ec2682f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -35,7 +35,10 @@ def eval_prob(target_word, text):
35
 
36
  gr.Interface(
37
  fn=eval_prob,
38
- inputs="text",
 
 
 
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()