Spaces:
Build error
Build error
Update app.py
Browse files
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
|
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 |
-
["
|
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 |
|