dhmeltzer commited on
Commit
de37250
·
1 Parent(s): feacad7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -44,9 +44,9 @@ My favorite part of the book though was when the hobbits met Tom Bombadil, it's
44
  data=input_data,
45
  headers=headers).json()
46
 
47
- if 0 not in r:
48
  st.write(r)
49
- return
50
  else:
51
  r=r[0]
52
 
 
44
  data=input_data,
45
  headers=headers).json()
46
 
47
+ if 0 not in r.keys():
48
  st.write(r)
49
+ continue
50
  else:
51
  r=r[0]
52