zamborg commited on
Commit
8b7cae6
1 Parent(s): 710977a

is not -> != ; this should resolve error but unsure as to why this arose.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ _, center, _ = st.columns([1, 10, 1])
114
  with center:
115
  st.image(show_image)
116
 
117
- if sub is None and imageLoader.text_transform(cap_prompt) is not "":
118
  st.write("Without a specified subreddit we default to /r/pics")
119
  for i in range(num_captions):
120
  gen_show_caption(sub, imageLoader.text_transform(cap_prompt))
 
114
  with center:
115
  st.image(show_image)
116
 
117
+ if sub is None and imageLoader.text_transform(cap_prompt) != "":
118
  st.write("Without a specified subreddit we default to /r/pics")
119
  for i in range(num_captions):
120
  gen_show_caption(sub, imageLoader.text_transform(cap_prompt))