Spaces:
Runtime error
Runtime error
update
Browse files- utils/functions.py +4 -1
utils/functions.py
CHANGED
@@ -26,5 +26,8 @@ def get_random_name():
|
|
26 |
|
27 |
random_painter = random.choice(famous_painters)
|
28 |
|
|
|
|
|
|
|
|
|
29 |
|
30 |
-
return random_painter
|
|
|
26 |
|
27 |
random_painter = random.choice(famous_painters)
|
28 |
|
29 |
+
# 4桁の乱数を生成
|
30 |
+
rand_num = random.randint(1000, 9999)
|
31 |
+
|
32 |
+
return random_painter+str(rand_num)
|
33 |
|
|