lewtun HF staff commited on
Commit
71886ea
1 Parent(s): bd612fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ def predict(text):
10
  gradio_ui = gr.Interface(
11
  fn=predict,
12
  title="Predicting review scores from customer reviews",
13
- description="Enter some review text about an Amazon product and check what the model predicts for it's star rating.",
14
  inputs=[
15
  gr.inputs.Textbox(lines=5, label="Paste some text here"),
16
  ],
@@ -19,7 +19,7 @@ gradio_ui = gr.Interface(
19
  gr.outputs.Textbox(label="Score"),
20
  ],
21
  examples=[
22
- ["My favourite book is Cryptonomicon!"], ["私の好きな本は「クリプトノミコン」です"]
23
  ],
24
  )
25
 
 
10
  gradio_ui = gr.Interface(
11
  fn=predict,
12
  title="Predicting review scores from customer reviews",
13
+ description="Enter some review text about a product and check what the model predicts for it's star rating.",
14
  inputs=[
15
  gr.inputs.Textbox(lines=5, label="Paste some text here"),
16
  ],
 
19
  gr.outputs.Textbox(label="Score"),
20
  ],
21
  examples=[
22
+ ["The product is perfect for my classroom. It provides a wonderful flex seating option. The company also was supportive when I had a small issue. Great customer service!"], ["Für kleinen Umzug ganz ok"], ["Pratique mais pas très absorbant. Dommage."]
23
  ],
24
  )
25