Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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:
|