rycont commited on
Commit
084831c
·
1 Parent(s): 86d3b98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -55,15 +55,15 @@ if len(text_input.strip()) > 0:
55
  i + 1,
56
  tokens,
57
  attentionMasks
58
- )
59
- if generated in results:
60
  print("중복됨")
61
  continue
62
 
63
- results.append(generated)
64
 
65
- with lit.expander(str(len(results)) + "번째 결과 (" + str(i +1) + ")", True):
66
- lit.write(generated)
67
- print(generated)
68
 
69
- lit.caption("및 " + str(5 - len(results)) + " 개의 중복된 결과")
 
55
  i + 1,
56
  tokens,
57
  attentionMasks
58
+ )
59
+ if generated in results:
60
  print("중복됨")
61
  continue
62
 
63
+ results.append(generated)
64
 
65
+ with lit.expander(str(len(results)) + "번째 결과 (" + str(i +1) + ")", True):
66
+ lit.write(generated)
67
+ print(generated)
68
 
69
+ lit.caption("및 " + str(5 - len(results)) + " 개의 중복된 결과")