Update app.py
Browse files
app.py
CHANGED
@@ -157,13 +157,13 @@ def builder(Lang, Text):
|
|
157 |
|
158 |
|
159 |
|
160 |
-
demo = gr.Interface(builder, inputs=[gr.inputs.Dropdown(['Default', 'Eng', 'Kor']), gr.Textbox(placeholder="리뷰를 입력하시오.")],
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
|
168 |
|
169 |
|
|
|
157 |
|
158 |
|
159 |
|
160 |
+
# demo = gr.Interface(builder, inputs=[gr.inputs.Dropdown(['Default', 'Eng', 'Kor']), gr.Textbox(placeholder="리뷰를 입력하시오.")],
|
161 |
+
# outputs=[ gr.Label(num_top_classes=3, label='Lang'),
|
162 |
+
# gr.Label(num_top_classes=2, label='Result'),
|
163 |
+
# gr.HighlightedText(label="Analysis", combine_adjacent=False)
|
164 |
+
# .style(color_map={"+++": "#CF0000", "++": "#FF3232", "+": "#FFD4D4", "---": "#0004FE", "--": "#4C47FF", "-": "#BEBDFF"}) ],
|
165 |
+
# # outputs='label',
|
166 |
+
# title=title, description=description, examples=examples)
|
167 |
|
168 |
|
169 |
|