Spaces:
Runtime error
Runtime error
Update comment_analyzer.py
Browse files- comment_analyzer.py +2 -2
comment_analyzer.py
CHANGED
@@ -53,11 +53,11 @@ with gr.Blocks() as demo:
|
|
53 |
##### Tell us about your personal experience enrolling in this course. Was it the right match for you?
|
54 |
""")
|
55 |
input_comment = gr.Textbox(placeholder="Write your comment here...", show_label = False, lines=2)
|
56 |
-
button = gr.Button("What is the Rating I Have Given? Click me to Learn", variant="
|
57 |
with gr.Row():
|
58 |
with gr.Column():
|
59 |
gr.Markdown("#### Generated Rating from Your Comment")
|
60 |
-
rating = gr.Number().style(
|
61 |
with gr.Column():
|
62 |
gr.Markdown("#### Sentiment Scores of Your Comment")
|
63 |
with gr.Row():
|
|
|
53 |
##### Tell us about your personal experience enrolling in this course. Was it the right match for you?
|
54 |
""")
|
55 |
input_comment = gr.Textbox(placeholder="Write your comment here...", show_label = False, lines=2)
|
56 |
+
button = gr.Button("What is the Rating I Have Given? Click me to Learn", variant="secondary").style(full_width=True)
|
57 |
with gr.Row():
|
58 |
with gr.Column():
|
59 |
gr.Markdown("#### Generated Rating from Your Comment")
|
60 |
+
rating = gr.Number().style(show_label=False)
|
61 |
with gr.Column():
|
62 |
gr.Markdown("#### Sentiment Scores of Your Comment")
|
63 |
with gr.Row():
|