Mike Afton commited on
Commit
64712db
1 Parent(s): 173fbaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ def getDescript(image_captioner,img1):
108
  return caption
109
 
110
  def rmGPT(caption,remove_class):
111
- arstr=list(caption.split(' '))
112
  popular=get_most_similar_string(remove_class,arstr)
113
  ind=arstr.index(popular)
114
  new=[]
 
108
  return caption
109
 
110
  def rmGPT(caption,remove_class):
111
+ arstr=caption.split(' ')
112
  popular=get_most_similar_string(remove_class,arstr)
113
  ind=arstr.index(popular)
114
  new=[]