haouarin commited on
Commit
f817f7e
1 Parent(s): 0e725b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -15,7 +15,8 @@ def greet(prompt="أنا", maxTokens=50):
15
  result = fill_mask(text)
16
  print(text)
17
  print(result)
18
-
 
19
  if result:
20
  r = random.choice(result[0])['sequence']
21
  if r not in generated_text_set:
 
15
  result = fill_mask(text)
16
  print(text)
17
  print(result)
18
+ print(result[0])
19
+ print(result[0][0]['sequence'])
20
  if result:
21
  r = random.choice(result[0])['sequence']
22
  if r not in generated_text_set: