Spaces:
Running
Running
Update sentiments.html
Browse files- sentiments.html +0 -38
sentiments.html
CHANGED
@@ -79,44 +79,6 @@
|
|
79 |
|
80 |
<hr> <!-- Line Separator -->
|
81 |
|
82 |
-
<!-- Reviewer -->
|
83 |
-
<div id="reviewer-container" class="container mt-4">
|
84 |
-
<h5>Load a Specific Model (Xenova/bert-base-multilingual-uncased-sentiment):</h5>
|
85 |
-
<div class="d-flex align-items-center">
|
86 |
-
<label for="reviewText" class="mb-0 text-nowrap" style="margin-right: 15px;">Enter Text to
|
87 |
-
Review:</label>
|
88 |
-
<input type="text" class="form-control flex-grow-1" id="reviewText"
|
89 |
-
value="The Shawshank Redemption is a true masterpiece of cinema." placeholder="Enter text"
|
90 |
-
style="margin-right: 15px; margin-left: 15px;">
|
91 |
-
<button id="reviewButton" class="btn btn-primary" onclick="analyzeReview()">Review</button>
|
92 |
-
</div>
|
93 |
-
<div class="mt-4">
|
94 |
-
<h4>Output:</h4>
|
95 |
-
<pre id="reviewOutputArea"></pre>
|
96 |
-
</div>
|
97 |
-
</div>
|
98 |
-
|
99 |
-
<hr> <!-- Line Separator -->
|
100 |
-
|
101 |
-
<!-- Reviewer2 -->
|
102 |
-
<div id="reviewer-container2" class="container mt-4">
|
103 |
-
<h5>Return Top 5 Classes:</h5>
|
104 |
-
<div class="d-flex align-items-center">
|
105 |
-
<label for="reviewText2" class="mb-0 text-nowrap" style="margin-right: 15px;">Enter Text to
|
106 |
-
Review:</label>
|
107 |
-
<input type="text" class="form-control flex-grow-1" id="reviewText2"
|
108 |
-
value="Le meilleur film de tous les temps." placeholder="Enter text"
|
109 |
-
style="margin-right: 15px; margin-left: 15px;">
|
110 |
-
<button id="reviewButton2" class="btn btn-primary" onclick="analyzeReview2()">Review</button>
|
111 |
-
</div>
|
112 |
-
<div class="mt-4">
|
113 |
-
<h4>Output:</h4>
|
114 |
-
<pre id="reviewOutputArea2"></pre>
|
115 |
-
</div>
|
116 |
-
</div>
|
117 |
-
|
118 |
-
<hr> <!-- Line Separator -->
|
119 |
-
|
120 |
<!-- Toxic Comment Classification -->
|
121 |
<div id="toxic-container" class="container mt-4">
|
122 |
<h5>Toxic Comment Classification (Return All Classes):</h5>
|
|
|
79 |
|
80 |
<hr> <!-- Line Separator -->
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
<!-- Toxic Comment Classification -->
|
83 |
<div id="toxic-container" class="container mt-4">
|
84 |
<h5>Toxic Comment Classification (Return All Classes):</h5>
|