Spaces:
Sleeping
Sleeping
Avoid launch errors.
Browse files
app.py
CHANGED
@@ -98,7 +98,9 @@ def prompt_to_layout(user_prompt, intensity, fpath=None):
|
|
98 |
temp = []
|
99 |
for xy in coord:
|
100 |
numbers = xy.split(',')
|
101 |
-
|
|
|
|
|
102 |
num_coords.append(temp)
|
103 |
|
104 |
new_spaces = []
|
|
|
98 |
temp = []
|
99 |
for xy in coord:
|
100 |
numbers = xy.split(',')
|
101 |
+
for num in numbers:
|
102 |
+
if num.isdigit():
|
103 |
+
temp.append(int(num)/14.2)
|
104 |
num_coords.append(temp)
|
105 |
|
106 |
new_spaces = []
|