Spaces:
Runtime error
Runtime error
Logan Zoellner
commited on
Commit
·
8f115fa
1
Parent(s):
833c8dd
fix bug
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def npc_randomize():
|
|
73 |
|
74 |
characterClass=random.choice(classes)
|
75 |
|
76 |
-
pronoun=random.choices("he","she","they",weights=[0.45,0.45,0.1],k=1)[0]
|
77 |
|
78 |
return name,race,characterClass,pronoun
|
79 |
|
|
|
73 |
|
74 |
characterClass=random.choice(classes)
|
75 |
|
76 |
+
pronoun=random.choices(["he","she","they"],weights=[0.45,0.45,0.1],k=1)[0]
|
77 |
|
78 |
return name,race,characterClass,pronoun
|
79 |
|