ifire commited on
Commit
2a9f449
1 Parent(s): b9f403d

Avoid launch errors.

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- temp.append(tuple([int(num)/14.2 for num in numbers]))
 
 
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 = []