Spaces:
Runtime error
Runtime error
title-description-edit
Browse files
app.py
CHANGED
@@ -43,10 +43,10 @@ def classify_sentiments(text):
|
|
43 |
|
44 |
|
45 |
#build the Gradio app
|
46 |
-
Instructuction = "Write an imaginary review about a product or service you might be interested in."
|
47 |
-
title="Text Sentiment
|
48 |
-
description = """Write a Good or Bad
|
49 |
-
the machine learning model is able to predict
|
50 |
article = """
|
51 |
- Click submit button to test sentiment analysis prediction
|
52 |
- Click clear button to refresh text
|
@@ -57,7 +57,7 @@ gr.Interface(classify_sentiments,
|
|
57 |
'label',
|
58 |
title = title,
|
59 |
description = description,
|
60 |
-
Instruction = Instructuction,
|
61 |
article = article,
|
62 |
allow_flagging = "never",
|
63 |
live = False,
|
|
|
43 |
|
44 |
|
45 |
#build the Gradio app
|
46 |
+
#Instructuction = "Write an imaginary review about a product or service you might be interested in."
|
47 |
+
title="Text Sentiment Analysis"
|
48 |
+
description = """Write a Good or Bad review about an imaginary product or service,\
|
49 |
+
see how the machine learning model is able to predict your sentiments"""
|
50 |
article = """
|
51 |
- Click submit button to test sentiment analysis prediction
|
52 |
- Click clear button to refresh text
|
|
|
57 |
'label',
|
58 |
title = title,
|
59 |
description = description,
|
60 |
+
#Instruction = Instructuction,
|
61 |
article = article,
|
62 |
allow_flagging = "never",
|
63 |
live = False,
|