strongpear commited on
Commit
d5cbddd
1 Parent(s): 0b3105d

update visualization

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -265,9 +265,10 @@ emb_size = 256
265
  args = parser.parse_args(args=[])
266
  model = inferSSCL(args)
267
 
268
- cmt = st.text_area('Enter some text: ')
269
  model.infer(cmt)
270
 
271
- output = model.output[0]
272
- if output:
273
- st.title(output)
 
 
265
  args = parser.parse_args(args=[])
266
  model = inferSSCL(args)
267
 
268
+ cmt = st.text_area(input('Nhận xét của bạn là gì: '))
269
  model.infer(cmt)
270
 
271
+ outputs = model.output[0]
272
+ if outputs:
273
+ for output in outputs:
274
+ st.title(output)