mdj1412 commited on
Commit
cee83d4
1 Parent(s): 641f6f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
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
- 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
 
 
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