Spaces:
Runtime error
Runtime error
Update comment_analyzer.py
Browse files- comment_analyzer.py +3 -3
comment_analyzer.py
CHANGED
@@ -53,7 +53,7 @@ with gr.Blocks() as demo:
|
|
53 |
gr.Markdown("# AIN311 Project P05 - MOOC Recommendation")
|
54 |
gr.Markdown("## Generating a Rating from User Comment")
|
55 |
|
56 |
-
with gr.
|
57 |
gr.Markdown("""
|
58 |
##### Thanks for your interest and taking your time.
|
59 |
##### Tell us about your personal experience enrolling in this course. Was it the right match for you?
|
@@ -62,8 +62,8 @@ with gr.Blocks() as demo:
|
|
62 |
button = gr.Button("What is the Rating I Have Given? Click me to Learn")
|
63 |
|
64 |
gr.Markdown("#### Sentiment Scores of Your Comment")
|
65 |
-
|
66 |
-
|
67 |
negscore = gr.Number(label="Negativity Score")
|
68 |
neuscore = gr.Number(label="Neutrality Score")
|
69 |
posscore = gr.Number(label="Positivity Score")
|
|
|
53 |
gr.Markdown("# AIN311 Project P05 - MOOC Recommendation")
|
54 |
gr.Markdown("## Generating a Rating from User Comment")
|
55 |
|
56 |
+
with gr.Row():
|
57 |
gr.Markdown("""
|
58 |
##### Thanks for your interest and taking your time.
|
59 |
##### Tell us about your personal experience enrolling in this course. Was it the right match for you?
|
|
|
62 |
button = gr.Button("What is the Rating I Have Given? Click me to Learn")
|
63 |
|
64 |
gr.Markdown("#### Sentiment Scores of Your Comment")
|
65 |
+
rating = gr.Number(label="Generated Rating from Your Comment")
|
66 |
+
with gr.Column():
|
67 |
negscore = gr.Number(label="Negativity Score")
|
68 |
neuscore = gr.Number(label="Neutrality Score")
|
69 |
posscore = gr.Number(label="Positivity Score")
|