Update app.py
Browse files
app.py
CHANGED
@@ -97,9 +97,9 @@ def run(action, hair, top, bottom):
|
|
97 |
|
98 |
# == Target Avatar ==
|
99 |
body_target = '1'
|
100 |
-
hair_target = np.random.choice('1', '3', '5', '6', '9')
|
101 |
-
top_target = np.random.choice('3', '4', '5', '6')
|
102 |
-
bottom_target = np.random.choice('4', '5', '6')
|
103 |
|
104 |
file_name_target = './Sprite/frames/domain_2/' + action + '/'
|
105 |
file_name_target = file_name_target + 'front' + '_' + str(body_target) + str(bottom_target) + str(top_target) + str(hair_target) + '_'
|
|
|
97 |
|
98 |
# == Target Avatar ==
|
99 |
body_target = '1'
|
100 |
+
hair_target = np.random.choice(['1', '3', '5', '6', '9'])
|
101 |
+
top_target = np.random.choice(['3', '4', '5', '6'])
|
102 |
+
bottom_target = np.random.choice(['4', '5', '6'])
|
103 |
|
104 |
file_name_target = './Sprite/frames/domain_2/' + action + '/'
|
105 |
file_name_target = file_name_target + 'front' + '_' + str(body_target) + str(bottom_target) + str(top_target) + str(hair_target) + '_'
|